#304D7F

Closest named color: Light Navy (#155084). oklch(42.3% 0.091 260.7), rgb(48, 77, 127).

Aa

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

About this color

#304D7F is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.091 and its hue 261°. 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.42:1.

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

Values

HEX#304D7F
RGBrgb(48, 77, 127)
HSLhsl(218, 45%, 34%)
OKLCHoklch(42.3% 0.091 260.7)

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 #304D7F 8.42:1 AAA Lc -93.4 Preferred for body text
Black text on #304D7F 2.49:1 Fails Lc 15.1 Dividers and decoration only
#304D7F text on white 8.42:1 AAA Lc 88.9 Fine for body text
#304D7F text on black 2.49:1 Fails Lc -13.4 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #ADC2E4

    oklch(81% 0.053 260)

  5. Step 400

    400

    #82A1D6

    oklch(70.6% 0.085 260.9)

  6. Step 500

    500

    #6389CB

    oklch(63% 0.109 261)

  7. Step 600

    600

    #4A72B8

    oklch(55.6% 0.118 260.9)

  8. Step 700

    700

    #3B5F9E

    oklch(49% 0.11 260.9)

  9. Step 800

    800 (this color)

    #304D7F

    oklch(42.3% 0.091 260.7)

  10. Step 900

    900

    #2B4167

    oklch(37.6% 0.071 260.8)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#304D7F 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)#3851810.016
Deuteranopia (no green cones)#2D4A7E0.010
Tritanopia (no blue cones)#0058600.077
Achromatopsia (no color)#4D4D4D0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D7F

    #304D7F

    oklch(42.3% 0.091 260.7)

  • #664800

    #664800

    oklch(42.3% 0.087 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D7F

    #304D7F

    oklch(42.3% 0.091 260.7)

  • #005573

    #005573

    oklch(42.1% 0.085 230.8)

  • #4E447B

    #4E447B

    oklch(42.3% 0.09 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #304D7F

    #304D7F

    oklch(42.3% 0.091 260.7)

  • #743D1A

    #743D1A

    oklch(42.2% 0.09 50.3)

  • #515204

    #515204

    oklch(42.4% 0.091 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D7F

    #304D7F

    oklch(42.3% 0.091 260.7)

  • #783738

    #783738

    oklch(42.3% 0.091 20.8)

  • #305A28

    #305A28

    oklch(42.4% 0.091 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D7F

    #304D7F

    oklch(42.3% 0.091 260.7)

  • #723754

    #723754

    oklch(42.3% 0.091 350.9)

  • #664800

    #664800

    oklch(42.3% 0.087 81.3)

  • #005C47

    #005C47

    oklch(42.2% 0.083 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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