#316EC4

Closest named color: Mid Blue (#276AB3). oklch(54.3% 0.148 257.6), rgb(49, 110, 196).

Aa

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

About this color

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

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

Values

HEX#316EC4
RGBrgb(49, 110, 196)
HSLhsl(215, 60%, 48%)
OKLCHoklch(54.3% 0.148 257.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 #316EC4 5.05:1 AA Lc -79.9 Fine for body text
Black text on #316EC4 4.15:1 AA large text Lc 29.6 Dividers and decoration only
#316EC4 text on white 5.05:1 AA Lc 74.5 Content text, not long reading
#316EC4 text on black 4.15:1 AA large text Lc -27.2 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

    #E2EBF7

    oklch(93.7% 0.019 255.5)

  3. Step 200

    200

    #CADAF2

    oklch(88.4% 0.037 258.4)

  4. Step 300

    300

    #A6C3EC

    oklch(81% 0.066 257)

  5. Step 400

    400

    #76A2E3

    oklch(70.7% 0.107 258)

  6. Step 500

    500

    #518ADB

    oklch(63.2% 0.137 257.4)

  7. Step 600

    600 (this color)

    #316EC4

    oklch(54.3% 0.148 257.6)

  8. Step 700

    700

    #275FAD

    oklch(49.1% 0.138 257.5)

  9. Step 800

    800

    #224E8C

    oklch(42.7% 0.114 257.5)

  10. Step 900

    900

    #214170

    oklch(37.6% 0.089 258)

  11. Step 950

    950

    #142742

    oklch(27.2% 0.056 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#316EC4 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)#4376C70.029
Deuteranopia (no green cones)#2668C20.020
Tritanopia (no blue cones)#00828F0.115
Achromatopsia (no color)#6F6F6F0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #316EC4

    #316EC4

    oklch(54.3% 0.148 257.6)

  • #946600

    #946600

    oklch(54.5% 0.114 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316EC4

    #316EC4

    oklch(54.3% 0.148 257.6)

  • #007B9F

    #007B9F

    oklch(54.4% 0.105 227.2)

  • #6D5EC0

    #6D5EC0

    oklch(54.4% 0.148 287.5)

Open the analogous palette in the generator

Split complementary

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

  • #316EC4

    #316EC4

    oklch(54.3% 0.148 257.6)

  • #B24E01

    #B24E01

    oklch(54.4% 0.148 47.7)

  • #777400

    #777400

    oklch(54.4% 0.117 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316EC4

    #316EC4

    oklch(54.3% 0.148 257.6)

  • #B6434F

    #B6434F

    oklch(54.4% 0.149 17.4)

  • #3F821F

    #3F821F

    oklch(54.2% 0.148 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316EC4

    #316EC4

    oklch(54.3% 0.148 257.6)

  • #AA457F

    #AA457F

    oklch(54.3% 0.148 347.6)

  • #946600

    #946600

    oklch(54.5% 0.114 77.8)

  • #008463

    #008463

    oklch(54.5% 0.111 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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