#00304A

Closest named color: Midnight Green (#073B4C). oklch(29.4% 0.067 239.5), rgb(0, 48, 74).

Aa

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

About this color

#00304A is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.067 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.039 away. White text reads best on it, at 13.80:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.067)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.52:1
White text13.80:1

Values

HEX#00304A
RGBrgb(0, 48, 74)
HSLhsl(201, 100%, 15%)
OKLCHoklch(29.4% 0.067 239.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 #00304A 13.80:1 AAA Lc -103.1 Preferred for body text
Black text on #00304A 1.52:1 Fails Lc 0.0 Not readable
#00304A text on white 13.80:1 AAA Lc 100.0 Preferred for body text
#00304A text on black 1.52: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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DDECF8

    oklch(93.5% 0.023 241.9)

  3. Step 200

    200

    #C0DEF4

    oklch(88.6% 0.044 239.8)

  4. Step 300

    300

    #91C8EF

    oklch(80.9% 0.08 239.9)

  5. Step 400

    400

    #49AAE7

    oklch(70.6% 0.127 239.8)

  6. Step 500

    500

    #0093D6

    oklch(63.1% 0.143 239.3)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950 (this color)

    #00304A

    oklch(29.4% 0.067 239.5)

Export this scale for Tailwind in the Tailwind colors tool

#00304A 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)#23304B0.034
Deuteranopia (no green cones)#192A4A0.026
Tritanopia (no blue cones)#0037390.045
Achromatopsia (no color)#2D2D2D0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

  • #442302

    #442302

    oklch(29.5% 0.067 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

  • #00333A

    #00333A

    oklch(29.4% 0.051 209.4)

  • #1F2A4E

    #1F2A4E

    oklch(29.5% 0.067 269.2)

Open the analogous palette in the generator

Split complementary

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

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

  • #481E18

    #481E18

    oklch(29.5% 0.066 29.9)

  • #382A00

    #382A00

    oklch(29.3% 0.06 89.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

  • #461C2B

    #461C2B

    oklch(29.3% 0.067 359.6)

  • #293102

    #293102

    oklch(29.5% 0.067 119.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #00304A

    #00304A

    oklch(29.4% 0.067 239.5)

  • #3E1F3C

    #3E1F3C

    oklch(29.4% 0.066 329.5)

  • #442302

    #442302

    oklch(29.5% 0.067 60.1)

  • #0E3519

    #0E3519

    oklch(29.3% 0.067 149.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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