#023A58

Closest named color: Midnight Green (#073B4C). oklch(33.2% 0.074 239.9), rgb(2, 58, 88).

Aa

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

About this color

#023A58 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.074 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.023 away. White text reads best on it, at 12.00:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.74:1
White text12.00:1

Values

HEX#023A58
RGBrgb(2, 58, 88)
HSLhsl(201, 96%, 18%)
OKLCHoklch(33.2% 0.074 239.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 #023A58 12.00:1 AAA Lc -100.6 Preferred for body text
Black text on #023A58 1.74:1 Fails Lc 0.0 Not readable
#023A58 text on white 12.00:1 AAA Lc 97.0 Preferred for body text
#023A58 text on black 1.74:1 Fails Lc 0.0 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF4

    oklch(93.7% 0.016 239.1)

  3. Step 200

    200

    #C7DCEC

    oklch(88.4% 0.032 240.7)

  4. Step 300

    300

    #A0C6E2

    oklch(80.8% 0.057 240.3)

  5. Step 400

    400

    #6BA8D3

    oklch(70.7% 0.089 240.4)

  6. Step 500

    500

    #3D92C7

    oklch(63.1% 0.114 239.6)

  7. Step 600

    600

    #0B7BB4

    oklch(55.6% 0.124 239.9)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #05557E

    oklch(42.9% 0.096 239.8)

  10. Step 900

    900 (this color)

    #023A58

    oklch(33.2% 0.074 239.9)

  11. Step 950

    950

    #0D293B

    oklch(26.9% 0.047 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#023A58 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)#2B3B590.037
Deuteranopia (no green cones)#2033570.029
Tritanopia (no blue cones)#0042450.049
Achromatopsia (no color)#3636360.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #023A58

    #023A58

    oklch(33.2% 0.074 239.9)

  • #512B04

    #512B04

    oklch(33.2% 0.074 59.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023A58

    #023A58

    oklch(33.2% 0.074 239.9)

  • #003E46

    #003E46

    oklch(33.3% 0.057 209.1)

  • #27335C

    #27335C

    oklch(33.2% 0.074 269.7)

Open the analogous palette in the generator

Split complementary

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

  • #023A58

    #023A58

    oklch(33.2% 0.074 239.9)

  • #56251E

    #56251E

    oklch(33.2% 0.074 29.9)

  • #443400

    #443400

    oklch(33.3% 0.068 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023A58

    #023A58

    oklch(33.2% 0.074 239.9)

  • #542434

    #542434

    oklch(33.3% 0.074 0.9)

  • #313B05

    #313B05

    oklch(33.2% 0.074 120.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023A58

    #023A58

    oklch(33.2% 0.074 239.9)

  • #4B2648

    #4B2648

    oklch(33.2% 0.075 330.1)

  • #512B04

    #512B04

    oklch(33.2% 0.074 59.8)

  • #134020

    #134020

    oklch(33.1% 0.074 149.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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