#317DF2

Closest named color: Clear Blue (#247AFD). oklch(60.7% 0.191 259.2), rgb(49, 125, 242).

Aa

Black text reads best on this color (5.34:1).

About this color

#317DF2 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.191 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.020 away. Black text reads best on it, at 5.34:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.191)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.34:1
White text3.92:1

Values

HEX#317DF2
RGBrgb(49, 125, 242)
HSLhsl(216, 88%, 57%)
OKLCHoklch(60.7% 0.191 259.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 #317DF2 3.92:1 AA large text Lc -71.7 Content text, not long reading
Black text on #317DF2 5.34:1 AA Lc 37.9 Non-text elements, placeholder text
#317DF2 text on white 3.92:1 AA large text Lc 66.2 Content text, not long reading
#317DF2 text on black 5.34:1 AA Lc -35.5 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 500.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFC

    oklch(88.6% 0.051 258.4)

  4. Step 300

    300

    #9CC2FD

    oklch(80.8% 0.094 259)

  5. Step 400

    400

    #65A0FD

    oklch(70.7% 0.15 259.2)

  6. Step 500

    500 (this color)

    #317DF2

    oklch(60.7% 0.191 259.2)

  7. Step 600

    600

    #0F6BEA

    oklch(55.7% 0.208 259.1)

  8. Step 700

    700

    #0058CA

    oklch(49.1% 0.191 259.1)

  9. Step 800

    800

    #0749A4

    oklch(42.8% 0.159 259)

  10. Step 900

    900

    #113E82

    oklch(37.7% 0.125 259.1)

  11. Step 950

    950

    #0C254C

    oklch(27% 0.079 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#317DF2 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)#378AF60.035
Deuteranopia (no green cones)#0078F00.024
Tritanopia (no blue cones)#0099AC0.147
Achromatopsia (no color)#8080800.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #317DF2

    #317DF2

    oklch(60.7% 0.191 259.2)

  • #AA7800

    #AA7800

    oklch(60.8% 0.126 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317DF2

    #317DF2

    oklch(60.7% 0.191 259.2)

  • #008FBB

    #008FBB

    oklch(60.8% 0.12 228.8)

  • #8367EB

    #8367EB

    oklch(60.7% 0.191 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #317DF2

    #317DF2

    oklch(60.7% 0.191 259.2)

  • #CC5D00

    #CC5D00

    oklch(60.6% 0.163 49)

  • #898800

    #898800

    oklch(60.8% 0.132 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317DF2

    #317DF2

    oklch(60.7% 0.191 259.2)

  • #DD4252

    #DD4252

    oklch(60.7% 0.191 19.3)

  • #369B02

    #369B02

    oklch(60.6% 0.191 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317DF2

    #317DF2

    oklch(60.7% 0.191 259.2)

  • #D04594

    #D04594

    oklch(60.8% 0.191 349.2)

  • #AA7800

    #AA7800

    oklch(60.8% 0.126 79.4)

  • #009976

    #009976

    oklch(60.7% 0.121 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #317DF2 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.