#316CE4

Closest named color: Royal Blue (#4169E1). oklch(56.2% 0.193 262.4), rgb(49, 108, 228).

Aa

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

About this color

#316CE4 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.193 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.014 away. White text reads best on it, at 4.77:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.193)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.39:1
White text4.77:1

Values

HEX#316CE4
RGBrgb(49, 108, 228)
HSLhsl(220, 77%, 54%)
OKLCHoklch(56.2% 0.193 262.4)

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 #316CE4 4.77:1 AA Lc -78.1 Fine for body text
Black text on #316CE4 4.39:1 AA large text Lc 31.5 Non-text elements, placeholder text
#316CE4 text on white 4.77:1 AA Lc 72.6 Content text, not long reading
#316CE4 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

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A2C1F9

    oklch(80.8% 0.087 262)

  5. Step 400

    400

    #719FF7

    oklch(70.8% 0.139 262.4)

  6. Step 500

    500

    #4B84F3

    oklch(63.1% 0.177 262.1)

  7. Step 600

    600 (this color)

    #316CE4

    oklch(56.2% 0.193 262.4)

  8. Step 700

    700

    #2258C4

    oklch(49.2% 0.179 262.1)

  9. Step 800

    800

    #1E489F

    oklch(42.7% 0.149 262.5)

  10. Step 900

    900

    #1D3E7E

    oklch(37.8% 0.115 262)

  11. Step 950

    950

    #12254A

    oklch(27.1% 0.073 262.2)

Export this scale for Tailwind in the Tailwind colors tool

#316CE4 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)#0C7BE80.038
Deuteranopia (no green cones)#006BE20.022
Tritanopia (no blue cones)#00899E0.149
Achromatopsia (no color)#7272720.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #316CE4

    #316CE4

    oklch(56.2% 0.193 262.4)

  • #966D00

    #966D00

    oklch(56.1% 0.116 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316CE4

    #316CE4

    oklch(56.2% 0.193 262.4)

  • #007FAD

    #007FAD

    oklch(56.1% 0.116 232.8)

  • #7C56DA

    #7C56DA

    oklch(56.2% 0.193 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #316CE4

    #316CE4

    oklch(56.2% 0.193 262.4)

  • #B45700

    #B45700

    oklch(56.1% 0.144 52.2)

  • #777C00

    #777C00

    oklch(56.3% 0.125 112.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316CE4

    #316CE4

    oklch(56.2% 0.193 262.4)

  • #CE303C

    #CE303C

    oklch(56.2% 0.193 22.4)

  • #048E00

    #048E00

    oklch(56.1% 0.19 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316CE4

    #316CE4

    oklch(56.2% 0.193 262.4)

  • #C33280

    #C33280

    oklch(56.2% 0.194 352.4)

  • #966D00

    #966D00

    oklch(56.1% 0.116 82.4)

  • #00896E

    #00896E

    oklch(56.1% 0.108 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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