#314BB4

Closest named color: Blue Blue (#2242C7). oklch(45.8% 0.169 268.3), rgb(49, 75, 180).

Aa

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

About this color

#314BB4 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.169 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.040 away. White text reads best on it, at 7.51:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.169)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.79:1
White text7.51:1

Values

HEX#314BB4
RGBrgb(49, 75, 180)
HSLhsl(228, 57%, 45%)
OKLCHoklch(45.8% 0.169 268.3)

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 #314BB4 7.51:1 AAA Lc -90.5 Preferred for body text
Black text on #314BB4 2.79:1 Fails Lc 18.4 Dividers and decoration only
#314BB4 text on white 7.51:1 AAA Lc 85.6 Fine for body text
#314BB4 text on black 2.79:1 Fails Lc -16.4 Dividers and decoration only

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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2EAFE

    oklch(93.7% 0.028 268.4)

  3. Step 200

    200

    #CAD9FF

    oklch(88.6% 0.055 268.3)

  4. Step 300

    300

    #A6BFFF

    oklch(80.9% 0.095 267.8)

  5. Step 400

    400

    #799AFF

    oklch(70.6% 0.153 268.6)

  6. Step 500

    500

    #587DFF

    oklch(63.1% 0.197 268.3)

  7. Step 600

    600

    #3F61F1

    oklch(55.6% 0.219 268.1)

  8. Step 700

    700

    #324ED2

    oklch(49% 0.205 268.3)

  9. Step 800

    800 (this color)

    #314BB4

    oklch(45.8% 0.169 268.3)

  10. Step 900

    900

    #253986

    oklch(37.7% 0.131 268.4)

  11. Step 950

    950

    #15224F

    oklch(27% 0.084 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#314BB4 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)#005BB80.044
Deuteranopia (no green cones)#004FB20.030
Tritanopia (no blue cones)#0065780.135
Achromatopsia (no color)#5555550.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #314BB4

    #314BB4

    oklch(45.8% 0.169 268.3)

  • #6D5400

    #6D5400

    oklch(45.9% 0.094 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314BB4

    #314BB4

    oklch(45.8% 0.169 268.3)

  • #005E89

    #005E89

    oklch(45.8% 0.102 238.1)

  • #6638A7

    #6638A7

    oklch(45.8% 0.17 298.5)

Open the analogous palette in the generator

Split complementary

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

  • #314BB4

    #314BB4

    oklch(45.8% 0.169 268.3)

  • #834500

    #834500

    oklch(45.8% 0.109 58.3)

  • #525F00

    #525F00

    oklch(45.8% 0.107 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314BB4

    #314BB4

    oklch(45.8% 0.169 268.3)

  • #A11B17

    #A11B17

    oklch(45.9% 0.169 28.2)

  • #006A28

    #006A28

    oklch(45.7% 0.132 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314BB4

    #314BB4

    oklch(45.8% 0.169 268.3)

  • #9A1957

    #9A1957

    oklch(45.8% 0.169 358)

  • #6D5400

    #6D5400

    oklch(45.9% 0.094 88.6)

  • #006658

    #006658

    oklch(45.7% 0.083 179)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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