#314388

Closest named color: Cobalt (#1E488F). oklch(40.7% 0.117 269.6), rgb(49, 67, 136).

Aa

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

About this color

#314388 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.117 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.023 away. White text reads best on it, at 9.17:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.28:1
White text9.17:1

Values

HEX#314388
RGBrgb(49, 67, 136)
HSLhsl(228, 47%, 36%)
OKLCHoklch(40.7% 0.117 269.6)

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 #314388 9.17:1 AAA Lc -95.3 Preferred for body text
Black text on #314388 2.28:1 Fails Lc 13.1 Not readable
#314388 text on white 9.17:1 AAA Lc 90.9 Preferred for body text
#314388 text on black 2.28:1 Fails Lc -11.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #859DE5

    oklch(70.6% 0.109 269.4)

  6. Step 500

    500

    #6883DE

    oklch(63.1% 0.14 269.6)

  7. Step 600

    600

    #516BCB

    oklch(55.7% 0.151 269.6)

  8. Step 700

    700

    #4258B0

    oklch(49% 0.142 269.9)

  9. Step 800

    800 (this color)

    #314388

    oklch(40.7% 0.117 269.6)

  10. Step 900

    900

    #2F3D72

    oklch(37.6% 0.092 270.3)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#314388 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)#1E4C8B0.029
Deuteranopia (no green cones)#0B44870.032
Tritanopia (no blue cones)#00535F0.100
Achromatopsia (no color)#4848480.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #314388

    #314388

    oklch(40.7% 0.117 269.6)

  • #5B4700

    #5B4700

    oklch(40.7% 0.083 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314388

    #314388

    oklch(40.7% 0.117 269.6)

  • #004F76

    #004F76

    oklch(40.7% 0.093 239.5)

  • #54377F

    #54377F

    oklch(40.7% 0.118 299.8)

Open the analogous palette in the generator

Split complementary

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

  • #314388

    #314388

    oklch(40.7% 0.117 269.6)

  • #6E3A00

    #6E3A00

    oklch(40.6% 0.096 59.3)

  • #445000

    #445000

    oklch(40.6% 0.096 119.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314388

    #314388

    oklch(40.7% 0.117 269.6)

  • #7D2A20

    #7D2A20

    oklch(40.8% 0.117 29.8)

  • #005925

    #005925

    oklch(40.5% 0.112 149.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314388

    #314388

    oklch(40.7% 0.117 269.6)

  • #792847

    #792847

    oklch(40.8% 0.117 0)

  • #5B4700

    #5B4700

    oklch(40.7% 0.083 90.3)

  • #00564B

    #00564B

    oklch(40.6% 0.074 180.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #314388 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.