#316DC7

Closest named color: Mid Blue (#276AB3). oklch(54.3% 0.153 258.6), rgb(49, 109, 199).

Aa

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

About this color

#316DC7 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.153 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.033 away. White text reads best on it, at 5.06:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.153)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.14:1
White text5.06:1

Values

HEX#316DC7
RGBrgb(49, 109, 199)
HSLhsl(216, 60%, 49%)
OKLCHoklch(54.3% 0.153 258.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 #316DC7 5.06:1 AA Lc -80.0 Fine for body text
Black text on #316DC7 4.14:1 AA large text Lc 29.5 Dividers and decoration only
#316DC7 text on white 5.06:1 AA Lc 74.6 Content text, not long reading
#316DC7 text on black 4.14:1 AA large text Lc -27.1 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 600.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF8

    oklch(93.7% 0.02 257.5)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A6C2EE

    oklch(80.9% 0.07 259.3)

  5. Step 400

    400

    #75A2E5

    oklch(70.7% 0.11 258.1)

  6. Step 500

    500

    #5189DE

    oklch(63.1% 0.142 258.5)

  7. Step 600

    600 (this color)

    #316DC7

    oklch(54.3% 0.153 258.6)

  8. Step 700

    700

    #275EB0

    oklch(49.1% 0.143 258.6)

  9. Step 800

    800

    #224D8E

    oklch(42.6% 0.118 258.6)

  10. Step 900

    900

    #214172

    oklch(37.8% 0.092 258.7)

  11. Step 950

    950

    #142643

    oklch(27% 0.059 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#316DC7 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)#3E76CA0.029
Deuteranopia (no green cones)#1E68C50.020
Tritanopia (no blue cones)#0082900.119
Achromatopsia (no color)#6E6E6E0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #316DC7

    #316DC7

    oklch(54.3% 0.153 258.6)

  • #936600

    #936600

    oklch(54.3% 0.113 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316DC7

    #316DC7

    oklch(54.3% 0.153 258.6)

  • #007BA0

    #007BA0

    oklch(54.4% 0.106 227.9)

  • #6E5CC2

    #6E5CC2

    oklch(54.3% 0.153 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #316DC7

    #316DC7

    oklch(54.3% 0.153 258.6)

  • #B14F00

    #B14F00

    oklch(54.4% 0.147 48.6)

  • #767400

    #767400

    oklch(54.3% 0.117 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316DC7

    #316DC7

    oklch(54.3% 0.153 258.6)

  • #B8414C

    #B8414C

    oklch(54.4% 0.153 18.5)

  • #3A831C

    #3A831C

    oklch(54.3% 0.153 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316DC7

    #316DC7

    oklch(54.3% 0.153 258.6)

  • #AD427E

    #AD427E

    oklch(54.3% 0.154 348.7)

  • #936600

    #936600

    oklch(54.3% 0.113 78.4)

  • #008364

    #008364

    oklch(54.2% 0.109 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #316DC7 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.