#316FD7

Closest named color: Royal Blue (#4169E1). oklch(55.9% 0.172 260.2), rgb(49, 111, 215).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.172)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.38:1
White text4.78:1

Values

HEX#316FD7
RGBrgb(49, 111, 215)
HSLhsl(218, 67%, 52%)
OKLCHoklch(55.9% 0.172 260.2)

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 #316FD7 4.78:1 AA Lc -78.2 Fine for body text
Black text on #316FD7 4.38:1 AA large text Lc 31.3 Non-text elements, placeholder text
#316FD7 text on white 4.78:1 AA Lc 72.8 Content text, not long reading
#316FD7 text on black 4.38:1 AA large text Lc -28.9 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAF9

    oklch(93.5% 0.023 260.7)

  3. Step 200

    200

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A4C2F3

    oklch(80.9% 0.077 260.1)

  5. Step 400

    400

    #72A1EE

    oklch(70.8% 0.124 259.9)

  6. Step 500

    500

    #4D87E8

    oklch(63.1% 0.159 260.1)

  7. Step 600

    600 (this color)

    #316FD7

    oklch(55.9% 0.172 260.2)

  8. Step 700

    700

    #235BBA

    oklch(49% 0.161 260.4)

  9. Step 800

    800

    #1F4B96

    oklch(42.6% 0.133 260.4)

  10. Step 900

    900

    #1E4078

    oklch(37.8% 0.104 259.9)

  11. Step 950

    950

    #122646

    oklch(27.1% 0.065 259.4)

Export this scale for Tailwind in the Tailwind colors tool

#316FD7 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)#337ADB0.029
Deuteranopia (no green cones)#006BD50.026
Tritanopia (no blue cones)#0088990.134
Achromatopsia (no color)#7272720.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #316FD7

    #316FD7

    oklch(55.9% 0.172 260.2)

  • #976B00

    #976B00

    oklch(55.9% 0.116 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316FD7

    #316FD7

    oklch(55.9% 0.172 260.2)

  • #007FA9

    #007FA9

    oklch(55.9% 0.112 230.4)

  • #765CD0

    #765CD0

    oklch(55.9% 0.172 290)

Open the analogous palette in the generator

Split complementary

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

  • #316FD7

    #316FD7

    oklch(55.9% 0.172 260.2)

  • #B55400

    #B55400

    oklch(55.8% 0.147 50.2)

  • #797900

    #797900

    oklch(55.8% 0.122 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316FD7

    #316FD7

    oklch(55.9% 0.172 260.2)

  • #C53C47

    #C53C47

    oklch(55.9% 0.173 20.4)

  • #2D8B12

    #2D8B12

    oklch(56% 0.173 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316FD7

    #316FD7

    oklch(55.9% 0.172 260.2)

  • #B93E82

    #B93E82

    oklch(55.8% 0.172 350)

  • #976B00

    #976B00

    oklch(55.9% 0.116 80.2)

  • #00886A

    #00886A

    oklch(55.8% 0.11 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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