#314F78

Closest named color: Light Navy (#155084). oklch(42.4% 0.078 256.5), rgb(49, 79, 120).

Aa

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

About this color

#314F78 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.078 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.029 away. White text reads best on it, at 8.33:1.

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

Values

HEX#314F78
RGBrgb(49, 79, 120)
HSLhsl(215, 42%, 33%)
OKLCHoklch(42.4% 0.078 256.5)

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 #314F78 8.33:1 AAA Lc -93.2 Preferred for body text
Black text on #314F78 2.52:1 Fails Lc 15.4 Dividers and decoration only
#314F78 text on white 8.33:1 AAA Lc 88.6 Fine for body text
#314F78 text on black 2.52:1 Fails Lc -13.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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CFDAEA

    oklch(88.5% 0.025 257.6)

  4. Step 300

    300

    #AEC2DE

    oklch(80.8% 0.045 256.8)

  5. Step 400

    400

    #83A3CE

    oklch(70.7% 0.073 255.9)

  6. Step 500

    500

    #648BC1

    oklch(63% 0.093 256.7)

  7. Step 600

    600

    #4B75AE

    oklch(55.7% 0.101 256.4)

  8. Step 700

    700

    #3C6295

    oklch(49.2% 0.093 256.2)

  9. Step 800

    800 (this color)

    #314F78

    oklch(42.4% 0.078 256.5)

  10. Step 900

    900

    #2C4261

    oklch(37.6% 0.06 257)

  11. Step 950

    950

    #1A2739

    oklch(27% 0.038 256.7)

Export this scale for Tailwind in the Tailwind colors tool

#314F78 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)#3E527A0.020
Deuteranopia (no green cones)#354B770.012
Tritanopia (no blue cones)#00585E0.068
Achromatopsia (no color)#4E4E4E0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #314F78

    #314F78

    oklch(42.4% 0.078 256.5)

  • #664814

    #664814

    oklch(42.5% 0.078 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314F78

    #314F78

    oklch(42.4% 0.078 256.5)

  • #0B566F

    #0B566F

    oklch(42.4% 0.078 227.2)

  • #4B4776

    #4B4776

    oklch(42.4% 0.077 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #314F78

    #314F78

    oklch(42.4% 0.078 256.5)

  • #704027

    #704027

    oklch(42.4% 0.077 47.4)

  • #535116

    #535116

    oklch(42.4% 0.078 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314F78

    #314F78

    oklch(42.4% 0.078 256.5)

  • #723B3F

    #723B3F

    oklch(42.3% 0.077 16.3)

  • #3A582C

    #3A582C

    oklch(42.5% 0.077 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314F78

    #314F78

    oklch(42.4% 0.078 256.5)

  • #6C3C57

    #6C3C57

    oklch(42.4% 0.077 346)

  • #664814

    #664814

    oklch(42.5% 0.078 77)

  • #165B45

    #165B45

    oklch(42.3% 0.077 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #314F78 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.