#316CEF

Closest named color: Cerulean Blue (#056EEE). oklch(57% 0.207 263.1), rgb(49, 108, 239).

Aa

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

About this color

#316CEF is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.207 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.018 away. White text reads best on it, at 4.64:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.207)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.52:1
White text4.64:1

Values

HEX#316CEF
RGBrgb(49, 108, 239)
HSLhsl(221, 86%, 56%)
OKLCHoklch(57% 0.207 263.1)

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 #316CEF 4.64:1 AA Lc -77.1 Fine for body text
Black text on #316CEF 4.52:1 AA Lc 32.4 Non-text elements, placeholder text
#316CEF text on white 4.64:1 AA Lc 71.6 Content text, not long reading
#316CEF text on black 4.52:1 AA Lc -30.0 Non-text elements, placeholder text

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #A1C1FE

    oklch(81% 0.094 263)

  5. Step 400

    400

    #6E9EFD

    oklch(70.7% 0.149 262.9)

  6. Step 500

    500

    #4982FB

    oklch(63.2% 0.19 263.1)

  7. Step 600

    600 (this color)

    #316CEF

    oklch(57% 0.207 263.1)

  8. Step 700

    700

    #2055CC

    oklch(49.2% 0.193 263.1)

  9. Step 800

    800

    #1C46A4

    oklch(42.6% 0.159 263.2)

  10. Step 900

    900

    #1C3C82

    oklch(37.6% 0.124 263.2)

  11. Step 950

    950

    #11244C

    oklch(27% 0.078 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#316CEF 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)#007EF40.044
Deuteranopia (no green cones)#006CEC0.021
Tritanopia (no blue cones)#008DA30.162
Achromatopsia (no color)#7474740.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #316CEF

    #316CEF

    oklch(57% 0.207 263.1)

  • #997000

    #997000

    oklch(57.1% 0.117 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316CEF

    #316CEF

    oklch(57% 0.207 263.1)

  • #0082B1

    #0082B1

    oklch(57.1% 0.118 232.8)

  • #8154E3

    #8154E3

    oklch(57.1% 0.206 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #316CEF

    #316CEF

    oklch(57% 0.207 263.1)

  • #B75A00

    #B75A00

    oklch(57% 0.145 53)

  • #787F00

    #787F00

    oklch(57.1% 0.128 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316CEF

    #316CEF

    oklch(57% 0.207 263.1)

  • #D62837

    #D62837

    oklch(56.9% 0.207 23.2)

  • #009110

    #009110

    oklch(56.9% 0.19 143.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316CEF

    #316CEF

    oklch(57% 0.207 263.1)

  • #CB2B82

    #CB2B82

    oklch(57.1% 0.207 353)

  • #997000

    #997000

    oklch(57.1% 0.117 83.1)

  • #008C71

    #008C71

    oklch(57.1% 0.11 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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