#304B7F

Closest named color: Light Navy (#155084). oklch(41.8% 0.093 262.4), rgb(48, 75, 127).

Aa

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

About this color

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

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

Values

HEX#304B7F
RGBrgb(48, 75, 127)
HSLhsl(219, 45%, 34%)
OKLCHoklch(41.8% 0.093 262.4)

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 #304B7F 8.61:1 AAA Lc -93.9 Preferred for body text
Black text on #304B7F 2.43:1 Fails Lc 14.6 Not readable
#304B7F text on white 8.61:1 AAA Lc 89.4 Fine for body text
#304B7F text on black 2.43:1 Fails Lc -12.8 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

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #83A1D7

    oklch(70.7% 0.086 261.9)

  6. Step 500

    500

    #6489CD

    oklch(63.2% 0.111 261.9)

  7. Step 600

    600

    #4C71BA

    oklch(55.6% 0.122 262.8)

  8. Step 700

    700

    #3D5FA0

    oklch(49.2% 0.112 262.2)

  9. Step 800

    800 (this color)

    #304B7F

    oklch(41.8% 0.093 262.4)

  10. Step 900

    900

    #2C4168

    oklch(37.7% 0.072 262)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#304B7F 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)#3550810.017
Deuteranopia (no green cones)#2A487E0.012
Tritanopia (no blue cones)#00575F0.080
Achromatopsia (no color)#4C4C4C0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #304B7F

    #304B7F

    oklch(41.8% 0.093 262.4)

  • #634700

    #634700

    oklch(41.7% 0.086 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304B7F

    #304B7F

    oklch(41.8% 0.093 262.4)

  • #005473

    #005473

    oklch(41.9% 0.085 232)

  • #4F427B

    #4F427B

    oklch(42% 0.093 292.4)

Open the analogous palette in the generator

Split complementary

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

  • #304B7F

    #304B7F

    oklch(41.8% 0.093 262.4)

  • #733C14

    #733C14

    oklch(41.8% 0.093 52.6)

  • #4E5100

    #4E5100

    oklch(41.8% 0.093 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304B7F

    #304B7F

    oklch(41.8% 0.093 262.4)

  • #773535

    #773535

    oklch(41.8% 0.093 21.9)

  • #2B5928

    #2B5928

    oklch(41.8% 0.093 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304B7F

    #304B7F

    oklch(41.8% 0.093 262.4)

  • #723551

    #723551

    oklch(41.9% 0.093 353)

  • #634700

    #634700

    oklch(41.7% 0.086 82.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 #304B7F, closest first.

Similar named colors

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

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