#317EF2

Closest named color: Clear Blue (#247AFD). oklch(60.9% 0.19 258.9), rgb(49, 126, 242).

Aa

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

About this color

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

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

Values

HEX#317EF2
RGBrgb(49, 126, 242)
HSLhsl(216, 88%, 57%)
OKLCHoklch(60.9% 0.19 258.9)

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 #317EF2 3.89:1 AA large text Lc -71.3 Content text, not long reading
Black text on #317EF2 5.39:1 AA Lc 38.3 Non-text elements, placeholder text
#317EF2 text on white 3.89:1 AA large text Lc 65.8 Content text, not long reading
#317EF2 text on black 5.39:1 AA Lc -35.8 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

    #65A0FC

    oklch(70.6% 0.149 259)

  6. Step 500

    500 (this color)

    #317EF2

    oklch(60.9% 0.19 258.9)

  7. Step 600

    600

    #0D6BE9

    oklch(55.6% 0.207 258.9)

  8. Step 700

    700

    #0059C9

    oklch(49.2% 0.189 258.8)

  9. Step 800

    800

    #0649A4

    oklch(42.8% 0.159 258.9)

  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

#317EF2 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)#3A8AF60.033
Deuteranopia (no green cones)#0079F00.024
Tritanopia (no blue cones)#009AAC0.147
Achromatopsia (no color)#8181810.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #317EF2

    #317EF2

    oklch(60.9% 0.19 258.9)

  • #AB7800

    #AB7800

    oklch(60.9% 0.127 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317EF2

    #317EF2

    oklch(60.9% 0.19 258.9)

  • #008FBC

    #008FBC

    oklch(60.8% 0.12 229.4)

  • #8368EB

    #8368EB

    oklch(60.9% 0.19 289)

Open the analogous palette in the generator

Split complementary

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

  • #317EF2

    #317EF2

    oklch(60.9% 0.19 258.9)

  • #CD5D00

    #CD5D00

    oklch(60.8% 0.164 48.8)

  • #8A8800

    #8A8800

    oklch(60.9% 0.132 108.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317EF2

    #317EF2

    oklch(60.9% 0.19 258.9)

  • #DD4354

    #DD4354

    oklch(60.9% 0.19 18.8)

  • #399C04

    #399C04

    oklch(61% 0.191 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317EF2

    #317EF2

    oklch(60.9% 0.19 258.9)

  • #D04695

    #D04695

    oklch(61% 0.19 348.9)

  • #AB7800

    #AB7800

    oklch(60.9% 0.127 78.9)

  • #009A76

    #009A76

    oklch(61% 0.122 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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