#304A71

Closest named color: Light Navy (#155084). oklch(40.7% 0.073 258.3), rgb(48, 74, 113).

Aa

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

About this color

#304A71 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.073 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.037 away. White text reads best on it, at 8.96:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.34:1
White text8.96:1

Values

HEX#304A71
RGBrgb(48, 74, 113)
HSLhsl(216, 40%, 32%)
OKLCHoklch(40.7% 0.073 258.3)

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 #304A71 8.96:1 AAA Lc -94.9 Preferred for body text
Black text on #304A71 2.34:1 Fails Lc 13.5 Not readable
#304A71 text on white 8.96:1 AAA Lc 90.4 Preferred for body text
#304A71 text on black 2.34:1 Fails Lc -11.9 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 800.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B0C2DD

    oklch(80.9% 0.043 258.4)

  5. Step 400

    400

    #86A2CC

    oklch(70.6% 0.069 258.3)

  6. Step 500

    500

    #688BBE

    oklch(63.1% 0.087 257.7)

  7. Step 600

    600

    #5074AB

    oklch(55.6% 0.095 258.6)

  8. Step 700

    700

    #406193

    oklch(49.1% 0.09 258.5)

  9. Step 800

    800 (this color)

    #304A71

    oklch(40.7% 0.073 258.3)

  10. Step 900

    900

    #2E4260

    oklch(37.6% 0.058 258.3)

  11. Step 950

    950

    #1B2738

    oklch(27% 0.036 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#304A71 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)#3A4D730.017
Deuteranopia (no green cones)#3247700.009
Tritanopia (no blue cones)#0853580.066
Achromatopsia (no color)#4949490.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #304A71

    #304A71

    oklch(40.7% 0.073 258.3)

  • #5F4413

    #5F4413

    oklch(40.7% 0.074 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304A71

    #304A71

    oklch(40.7% 0.073 258.3)

  • #0F5169

    #0F5169

    oklch(40.8% 0.073 228.2)

  • #48436F

    #48436F

    oklch(40.8% 0.073 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #304A71

    #304A71

    oklch(40.7% 0.073 258.3)

  • #693C24

    #693C24

    oklch(40.6% 0.073 47.9)

  • #4D4C17

    #4D4C17

    oklch(40.6% 0.073 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304A71

    #304A71

    oklch(40.7% 0.073 258.3)

  • #6C383A

    #6C383A

    oklch(40.7% 0.074 18.4)

  • #35532B

    #35532B

    oklch(40.8% 0.073 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304A71

    #304A71

    oklch(40.7% 0.073 258.3)

  • #663850

    #663850

    oklch(40.6% 0.073 348.3)

  • #5F4413

    #5F4413

    oklch(40.7% 0.074 78.4)

  • #145642

    #145642

    oklch(40.7% 0.073 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304A71 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.