#024CAB

Closest named color: Cobalt (#1E488F). oklch(43.9% 0.166 258.6), rgb(2, 76, 171).

Aa

White text reads best on this color (8.00:1).

About this color

#024CAB is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.166 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.046 away. White text reads best on it, at 8.00:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.166)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.62:1
White text8.00:1

Values

HEX#024CAB
RGBrgb(2, 76, 171)
HSLhsl(214, 98%, 34%)
OKLCHoklch(43.9% 0.166 258.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #024CAB 8.00:1 AAA Lc -91.7 Preferred for body text
Black text on #024CAB 2.62:1 Fails Lc 17.1 Dividers and decoration only
#024CAB text on white 8.00:1 AAA Lc 86.9 Fine for body text
#024CAB text on black 2.62:1 Fails Lc -15.2 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFD

    oklch(88.5% 0.053 258)

  4. Step 300

    300

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  5. Step 400

    400

    #62A0FF

    oklch(70.7% 0.154 258.7)

  6. Step 500

    500

    #3284FE

    oklch(63% 0.198 258.7)

  7. Step 600

    600

    #006AEC

    oklch(55.5% 0.213 258.8)

  8. Step 700

    700

    #0059C8

    oklch(49.1% 0.188 258.7)

  9. Step 800

    800 (this color)

    #024CAB

    oklch(43.9% 0.166 258.6)

  10. Step 900

    900

    #0C3E84

    oklch(37.7% 0.129 258.5)

  11. Step 950

    950

    #0A254D

    oklch(27% 0.081 258.5)

Export this scale for Tailwind in the Tailwind colors tool

#024CAB with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0058AE0.032
Deuteranopia (no green cones)#004AA90.006
Tritanopia (no blue cones)#0064740.125
Achromatopsia (no color)#5050500.166

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #024CAB

    #024CAB

    oklch(43.9% 0.166 258.6)

  • #6D4B00

    #6D4B00

    oklch(43.9% 0.091 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #024CAB

    #024CAB

    oklch(43.9% 0.166 258.6)

  • #005B78

    #005B78

    oklch(44% 0.086 228.4)

  • #5339A6

    #5339A6

    oklch(43.9% 0.166 288.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #024CAB

    #024CAB

    oklch(43.9% 0.166 258.6)

  • #843900

    #843900

    oklch(43.9% 0.119 48.6)

  • #575600

    #575600

    oklch(44% 0.095 109)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #024CAB

    #024CAB

    oklch(43.9% 0.166 258.6)

  • #99122C

    #99122C

    oklch(44% 0.166 18.8)

  • #226300

    #226300

    oklch(44% 0.138 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #024CAB

    #024CAB

    oklch(43.9% 0.166 258.6)

  • #8E1861

    #8E1861

    oklch(43.9% 0.166 348.7)

  • #6D4B00

    #6D4B00

    oklch(43.9% 0.091 78.8)

  • #006249

    #006249

    oklch(44.1% 0.089 167.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #024CAB, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #024CAB in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.