#304C81

Closest named color: Light Navy (#155084). oklch(42.2% 0.095 262.1), rgb(48, 76, 129).

Aa

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

About this color

#304C81 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.095 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.023 away. White text reads best on it, at 8.47:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.47:1
White text8.47:1

Values

HEX#304C81
RGBrgb(48, 76, 129)
HSLhsl(219, 46%, 35%)
OKLCHoklch(42.2% 0.095 262.1)

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 #304C81 8.47:1 AAA Lc -93.6 Preferred for body text
Black text on #304C81 2.47:1 Fails Lc 15.0 Not readable
#304C81 text on white 8.47:1 AAA Lc 89.0 Fine for body text
#304C81 text on black 2.47:1 Fails Lc -13.2 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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #ADC1E5

    oklch(80.8% 0.056 262.2)

  5. Step 400

    400

    #82A1D8

    oklch(70.7% 0.088 261.6)

  6. Step 500

    500

    #6389CE

    oklch(63.2% 0.113 261.7)

  7. Step 600

    600

    #4A71BB

    oklch(55.5% 0.124 262.1)

  8. Step 700

    700

    #3B5FA1

    oklch(49.2% 0.114 261.5)

  9. Step 800

    800 (this color)

    #304C81

    oklch(42.2% 0.095 262.1)

  10. Step 900

    900

    #2B4169

    oklch(37.7% 0.074 261.6)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#304C81 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)#3551830.017
Deuteranopia (no green cones)#2A49800.012
Tritanopia (no blue cones)#0058600.082
Achromatopsia (no color)#4D4D4D0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #654800

    #654800

    oklch(42.2% 0.087 82.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #005574

    #005574

    oklch(42.2% 0.086 231.7)

  • #4F427D

    #4F427D

    oklch(42.1% 0.096 291.9)

Open the analogous palette in the generator

Split complementary

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

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #753C13

    #753C13

    oklch(42.1% 0.095 52)

  • #4F5200

    #4F5200

    oklch(42.2% 0.093 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #793535

    #793535

    oklch(42.1% 0.096 22)

  • #2C5A27

    #2C5A27

    oklch(42.2% 0.095 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304C81

    #304C81

    oklch(42.2% 0.095 262.1)

  • #733553

    #733553

    oklch(42.1% 0.095 351.6)

  • #654800

    #654800

    oklch(42.2% 0.087 82.1)

  • #005C48

    #005C48

    oklch(42.3% 0.082 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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