#02344A

Closest named color: Midnight Green (#073B4C). oklch(30.7% 0.063 234), rgb(2, 52, 74).

Aa

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

About this color

#02344A is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.063 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.025 away. White text reads best on it, at 13.18:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.063)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.59:1
White text13.18:1

Values

HEX#02344A
RGBrgb(2, 52, 74)
HSLhsl(198, 95%, 15%)
OKLCHoklch(30.7% 0.063 234)

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 #02344A 13.18:1 AAA Lc -102.4 Preferred for body text
Black text on #02344A 1.59:1 Fails Lc 0.0 Not readable
#02344A text on white 13.18:1 AAA Lc 99.2 Preferred for body text
#02344A text on black 1.59: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 950.

  1. Step 50

    50

    #EFF7FB

    oklch(97.1% 0.01 228.9)

  2. Step 100

    100

    #DDEDF6

    oklch(93.7% 0.021 232.1)

  3. Step 200

    200

    #C0DEF1

    oklch(88.5% 0.041 235.7)

  4. Step 300

    300

    #91C9EA

    oklch(80.9% 0.074 234.8)

  5. Step 400

    400

    #47ACDF

    oklch(70.7% 0.119 234.1)

  6. Step 500

    500

    #0095CD

    oklch(63.1% 0.132 234.2)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005678

    oklch(42.7% 0.089 233.9)

  10. Step 900

    900

    #004865

    oklch(37.8% 0.079 233.7)

  11. Step 950

    950 (this color)

    #02344A

    oklch(30.7% 0.063 234)

Export this scale for Tailwind in the Tailwind colors tool

#02344A 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)#29344B0.038
Deuteranopia (no green cones)#202D4A0.033
Tritanopia (no blue cones)#003A3C0.038
Achromatopsia (no color)#3030300.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #02344A

    #02344A

    oklch(30.7% 0.063 234)

  • #47260D

    #47260D

    oklch(30.7% 0.062 54.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02344A

    #02344A

    oklch(30.7% 0.063 234)

  • #00373C

    #00373C

    oklch(30.7% 0.052 204.7)

  • #1F2E4F

    #1F2E4F

    oklch(30.6% 0.063 264.5)

Open the analogous palette in the generator

Split complementary

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

  • #02344A

    #02344A

    oklch(30.7% 0.063 234)

  • #4A2120

    #4A2120

    oklch(30.5% 0.063 22.9)

  • #3E2C00

    #3E2C00

    oklch(30.6% 0.063 84.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02344A

    #02344A

    oklch(30.7% 0.063 234)

  • #472132

    #472132

    oklch(30.7% 0.062 353.2)

  • #2F3306

    #2F3306

    oklch(30.7% 0.064 114.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02344A

    #02344A

    oklch(30.7% 0.063 234)

  • #3F2441

    #3F2441

    oklch(30.7% 0.062 324.5)

  • #47260D

    #47260D

    oklch(30.7% 0.062 54.8)

  • #1A371A

    #1A371A

    oklch(30.5% 0.062 143.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02344A 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.