#023C8F

Closest named color: Cobalt (#1E488F). oklch(38% 0.148 259.5), rgb(2, 60, 143).

Aa

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

About this color

#023C8F is a dark, vivid blue. In OKLCH its lightness is 38%, its chroma 0.148 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.040 away. White text reads best on it, at 10.26:1.

Hue familyBlues
Lightnessdark (38%)
Chromavivid (0.148)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.04:1
White text10.26:1

Values

HEX#023C8F
RGBrgb(2, 60, 143)
HSLhsl(215, 97%, 28%)
OKLCHoklch(38% 0.148 259.5)

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 #023C8F 10.26:1 AAA Lc -97.2 Preferred for body text
Black text on #023C8F 2.04:1 Fails Lc 10.9 Not readable
#023C8F text on white 10.26:1 AAA Lc 93.0 Preferred for body text
#023C8F text on black 2.04:1 Fails Lc -9.4 Not readable

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 900.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C4DBFF

    oklch(88.6% 0.056 259.3)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #64A0FF

    oklch(70.8% 0.153 259.2)

  6. Step 500

    500

    #3684FF

    oklch(63.2% 0.199 259.4)

  7. Step 600

    600

    #0068F1

    oklch(55.5% 0.221 259.6)

  8. Step 700

    700

    #0057CC

    oklch(49% 0.195 259.5)

  9. Step 800

    800

    #0047A9

    oklch(42.7% 0.169 259.5)

  10. Step 900

    900 (this color)

    #023C8F

    oklch(38% 0.148 259.5)

  11. Step 950

    950

    #052453

    oklch(27.1% 0.093 259)

Export this scale for Tailwind in the Tailwind colors tool

#023C8F 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)#0047920.030
Deuteranopia (no green cones)#003B8D0.005
Tritanopia (no blue cones)#00515F0.112
Achromatopsia (no color)#4141410.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #023C8F

    #023C8F

    oklch(38% 0.148 259.5)

  • #583D00

    #583D00

    oklch(38.1% 0.079 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023C8F

    #023C8F

    oklch(38% 0.148 259.5)

  • #004962

    #004962

    oklch(37.9% 0.075 229.5)

  • #442C8A

    #442C8A

    oklch(38% 0.148 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #023C8F

    #023C8F

    oklch(38% 0.148 259.5)

  • #6B2E00

    #6B2E00

    oklch(38% 0.101 49.5)

  • #464600

    #464600

    oklch(38.2% 0.083 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023C8F

    #023C8F

    oklch(38% 0.148 259.5)

  • #7F0620

    #7F0620

    oklch(38.1% 0.148 19.3)

  • #165000

    #165000

    oklch(37.9% 0.121 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023C8F

    #023C8F

    oklch(38% 0.148 259.5)

  • #760D4E

    #760D4E

    oklch(38% 0.148 349.5)

  • #583D00

    #583D00

    oklch(38.1% 0.079 80.4)

  • #004F3C

    #004F3C

    oklch(38% 0.075 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #023C8F 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.