Color #021DB6 Color / Colour Code #021DB6

    This page shows the hex color code for color #021db6 (#021DB6). The colour is a blue tone with 98% saturation and 36% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #021DB6

    Color Conversions

    HEX
    #021DB6
    RGB
    rgb(2, 29, 182)
    HSL
    hsl(231, 98%, 36%)
    HSV
    hsv(231, 99%, 71%)
    CMYK
    cmyk(99%, 84%, 0%, 29%)

    Accessibility Contrast

    WCAG contrast ratios for #021DB6 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    11.33:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.85:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    9.76:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #021DB6 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 201, 231, and 261 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 231, 351, and 111 degrees.

    Color Palettes Using #021DB6

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 231 and saturation at 98%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #010C4C #021897 #0328FC #687EFD #B3BFFE
    Warm Harmony

    Adjacent hues from 231 to 276 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #304CE8 #4330E8 #7130E8 #9F30E8
    Cool Contrast

    Combines the base color at hue 231 with its complement at 51 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #2641D9 #D9BE26 #9AD926 #41D926
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #B8BEE0 #DAB8E0 #E0B8BE #E0DAB8 #BEE0B8

    Shades & Tints of #021DB6

    Lightness variations at hue 231 and 98% saturation.

    CSS Gradients with #021DB6

    Blue to Yellow
    linear-gradient(135deg, #021db6, #b69b02)
    Analogous Fade
    linear-gradient(90deg, #021db6, #4102b6)
    Deep to Light
    linear-gradient(180deg, #010e5b, #a4b2fe)
    Tricolor Sweep
    linear-gradient(135deg, #021db6, #b6021d, #1db602)

    Design Use Cases for #021DB6

    High-Impact Accent

    With 98% saturation, #021DB6 is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Primary Interface Color

    At 36% lightness, #021DB6 is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Trust & Professional Identity

    #021DB6 sits in the blue range (hue 231). Blue is the world's most popular color for corporate identities because it conveys trust, stability, and competence. Use it for navigation bars, link text, form focus states, and any element where user confidence matters. Financial, healthcare, and technology brands rely heavily on this hue range.

    Gradient Pairing

    Create a gradient from #021DB6 (hue 231) to its complement at hue 51. For a subtler effect, try pairing with an analogous color at hue 261. Use CSS: background: linear-gradient(135deg, #021db6, #b69b02);

    CSS Code for #021DB6

    /* Background */
    background-color: #021db6;
    background-color: rgb(2, 29, 182);
    background-color: hsl(231, 98%, 36%);
    /* Text */
    color: #021db6;
    /* Border */
    border: 2px solid #021db6;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(2, 29, 182, 0.3);
    /* CSS Variable */
    --color-primary: 231 98% 36%;

    Similar Colors

    Colors visually similar to #021DB6 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #021DB6 across image editing and color design tools.

    About Color #021DB6 (#021DB6)

    #021DB6 is a blue color (colour) with RGB channel values of 2 red, 29 green, and 182 blue. The blue channel is dominant by a ratio of 91.0:1 over the weakest channel. In HSL terms, the hue sits at 231 degrees with 98% saturation and 36% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #021DB6 is 38/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 99% cyan, 84% magenta, 0% yellow, and 29% key (black).

    The WCAG contrast ratio of #021DB6 against white is 11.33:1 and against black is 1.85:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.

    The complementary colour #B69B02 creates maximum visual tension when paired with #021DB6. For more harmonious color combinations, use the analogous colours #0277B6 and #4102B6, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #021DB6

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #021DB6?
    #021DB6 is Color #021DB6, a blue color (colour) with RGB(2, 29, 182), HSL(231, 98%, 36%), and CMYK(99%, 84%, 0%, 29%). Its perceived brightness is 38/255.
    Is #021DB6 accessible for text?
    Against white, #021DB6 has a contrast ratio of 11.33:1 (passes AA for normal text). Against black, it has 1.85:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #021DB6?
    The complementary colour is #B69B02 (hue 51). For subtle color combinations, use analogous colours #0277B6 and #4102B6. The triadic palette adds #B6021D and #1DB602 for vibrant variety.
    How do I use #021DB6 in CSS?
    Use any format: color: #021db6; or rgb(2, 29, 182); or hsl(231, 98%, 36%). For CSS custom properties: --color-primary: 231 98% 36%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.