#304A7F

Closest named color: Light Navy (#155084). oklch(41.6% 0.094 263.2), rgb(48, 74, 127).

Aa

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

About this color

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

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

Values

HEX#304A7F
RGBrgb(48, 74, 127)
HSLhsl(220, 45%, 34%)
OKLCHoklch(41.6% 0.094 263.2)

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 #304A7F 8.70:1 AAA Lc -94.2 Preferred for body text
Black text on #304A7F 2.41:1 Fails Lc 14.3 Not readable
#304A7F text on white 8.70:1 AAA Lc 89.7 Fine for body text
#304A7F text on black 2.41:1 Fails Lc -12.6 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFDAEE

    oklch(88.6% 0.03 262.5)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #84A1D8

    oklch(70.8% 0.087 262.8)

  6. Step 500

    500

    #6588CE

    oklch(63.1% 0.113 263.3)

  7. Step 600

    600

    #4C71BB

    oklch(55.6% 0.123 262.9)

  8. Step 700

    700

    #3D5EA1

    oklch(49% 0.114 263.1)

  9. Step 800

    800 (this color)

    #304A7F

    oklch(41.6% 0.094 263.2)

  10. Step 900

    900

    #2D4169

    oklch(37.9% 0.073 263.2)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#304A7F 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)#334F810.016
Deuteranopia (no green cones)#28487E0.012
Tritanopia (no blue cones)#00565E0.082
Achromatopsia (no color)#4B4B4B0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #304A7F

    #304A7F

    oklch(41.6% 0.094 263.2)

  • #624700

    #624700

    oklch(41.6% 0.085 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304A7F

    #304A7F

    oklch(41.6% 0.094 263.2)

  • #005373

    #005373

    oklch(41.6% 0.086 233.1)

  • #4F407A

    #4F407A

    oklch(41.5% 0.095 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #304A7F

    #304A7F

    oklch(41.6% 0.094 263.2)

  • #733B10

    #733B10

    oklch(41.6% 0.095 53.1)

  • #4C5100

    #4C5100

    oklch(41.6% 0.093 113.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304A7F

    #304A7F

    oklch(41.6% 0.094 263.2)

  • #773433

    #773433

    oklch(41.6% 0.095 22.9)

  • #285927

    #285927

    oklch(41.7% 0.095 143.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304A7F

    #304A7F

    oklch(41.6% 0.094 263.2)

  • #723450

    #723450

    oklch(41.7% 0.094 353.6)

  • #624700

    #624700

    oklch(41.6% 0.085 83.7)

  • #005A48

    #005A48

    oklch(41.7% 0.08 173)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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