#316AEB

Closest named color: Cerulean Blue (#056EEE). oklch(56.3% 0.204 263.3), rgb(49, 106, 235).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.204)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.39:1
White text4.78:1

Values

HEX#316AEB
RGBrgb(49, 106, 235)
HSLhsl(222, 82%, 56%)
OKLCHoklch(56.3% 0.204 263.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 #316AEB 4.78:1 AA Lc -78.0 Fine for body text
Black text on #316AEB 4.39:1 AA large text Lc 31.5 Non-text elements, placeholder text
#316AEB text on white 4.78:1 AA Lc 72.6 Content text, not long reading
#316AEB text on black 4.39:1 AA large text Lc -29.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C1FD

    oklch(81% 0.092 263.3)

  5. Step 400

    400

    #709EFC

    oklch(70.8% 0.147 263.4)

  6. Step 500

    500

    #4B82F9

    oklch(63.1% 0.187 263.4)

  7. Step 600

    600 (this color)

    #316AEB

    oklch(56.3% 0.204 263.3)

  8. Step 700

    700

    #2255CA

    oklch(49% 0.19 263.3)

  9. Step 800

    800

    #1E47A3

    oklch(42.8% 0.156 263.2)

  10. Step 900

    900

    #1D3C82

    oklch(37.6% 0.124 263.6)

  11. Step 950

    950

    #11244C

    oklch(27% 0.078 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#316AEB 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)#007BEF0.042
Deuteranopia (no green cones)#006AE80.021
Tritanopia (no blue cones)#008AA00.159
Achromatopsia (no color)#7272720.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #316AEB

    #316AEB

    oklch(56.3% 0.204 263.3)

  • #966E00

    #966E00

    oklch(56.4% 0.116 83.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316AEB

    #316AEB

    oklch(56.3% 0.204 263.3)

  • #0080AF

    #0080AF

    oklch(56.5% 0.117 233.2)

  • #7F52DF

    #7F52DF

    oklch(56.3% 0.204 293.4)

Open the analogous palette in the generator

Split complementary

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

  • #316AEB

    #316AEB

    oklch(56.3% 0.204 263.3)

  • #B35900

    #B35900

    oklch(56.3% 0.142 53.6)

  • #767C00

    #767C00

    oklch(56.2% 0.125 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316AEB

    #316AEB

    oklch(56.3% 0.204 263.3)

  • #D32836

    #D32836

    oklch(56.4% 0.204 23.3)

  • #008F12

    #008F12

    oklch(56.4% 0.187 143.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316AEB

    #316AEB

    oklch(56.3% 0.204 263.3)

  • #C82A7F

    #C82A7F

    oklch(56.4% 0.205 353.4)

  • #966E00

    #966E00

    oklch(56.4% 0.116 83.3)

  • #008970

    #008970

    oklch(56.2% 0.107 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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