#023E97

Closest named color: Cobalt (#1E488F). oklch(39.2% 0.156 259.9), rgb(2, 62, 151).

Aa

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

About this color

#023E97 is a dark, vivid blue. In OKLCH its lightness is 39%, its chroma 0.156 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.037 away. White text reads best on it, at 9.81:1.

Hue familyBlues
Lightnessdark (39%)
Chromavivid (0.156)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.13:1
White text9.81:1

Values

HEX#023E97
RGBrgb(2, 62, 151)
HSLhsl(216, 97%, 30%)
OKLCHoklch(39.2% 0.156 259.9)

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 #023E97 9.81:1 AAA Lc -96.2 Preferred for body text
Black text on #023E97 2.13:1 Fails Lc 12.0 Not readable
#023E97 text on white 9.81:1 AAA Lc 92.0 Preferred for body text
#023E97 text on black 2.13:1 Fails Lc -10.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

    #659FFF

    oklch(70.6% 0.154 260)

  6. Step 500

    500

    #3883FF

    oklch(63% 0.199 260)

  7. Step 600

    600

    #0067F4

    oklch(55.6% 0.226 260)

  8. Step 700

    700

    #0056CF

    oklch(49.1% 0.2 260)

  9. Step 800

    800

    #0046AB

    oklch(42.6% 0.173 259.9)

  10. Step 900

    900 (this color)

    #023E97

    oklch(39.2% 0.156 259.9)

  11. Step 950

    950

    #042356

    oklch(27.1% 0.1 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#023E97 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)#004A9A0.032
Deuteranopia (no green cones)#003D950.005
Tritanopia (no blue cones)#0055640.119
Achromatopsia (no color)#4343430.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #023E97

    #023E97

    oklch(39.2% 0.156 259.9)

  • #5C4000

    #5C4000

    oklch(39.3% 0.081 80.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023E97

    #023E97

    oklch(39.2% 0.156 259.9)

  • #004C67

    #004C67

    oklch(39% 0.078 230.6)

  • #482C91

    #482C91

    oklch(39% 0.157 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #023E97

    #023E97

    oklch(39.2% 0.156 259.9)

  • #703100

    #703100

    oklch(39.3% 0.104 50)

  • #494900

    #494900

    oklch(39.2% 0.086 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023E97

    #023E97

    oklch(39.2% 0.156 259.9)

  • #85011F

    #85011F

    oklch(39.1% 0.156 19.9)

  • #155400

    #155400

    oklch(39.1% 0.126 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023E97

    #023E97

    oklch(39.2% 0.156 259.9)

  • #7C0951

    #7C0951

    oklch(39.1% 0.156 349.8)

  • #5C4000

    #5C4000

    oklch(39.3% 0.081 80.5)

  • #00533F

    #00533F

    oklch(39.3% 0.078 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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