#317FEF

Closest named color: Clear Blue (#247AFD). oklch(60.9% 0.185 258.2), rgb(49, 127, 239).

Aa

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

About this color

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

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

Values

HEX#317FEF
RGBrgb(49, 127, 239)
HSLhsl(215, 86%, 56%)
OKLCHoklch(60.9% 0.185 258.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 #317FEF 3.87:1 AA large text Lc -71.2 Content text, not long reading
Black text on #317FEF 5.41:1 AA Lc 38.3 Non-text elements, placeholder text
#317FEF text on white 3.87:1 AA large text Lc 65.7 Content text, not long reading
#317FEF text on black 5.41:1 AA Lc -35.9 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9DC3FB

    oklch(81% 0.09 258)

  5. Step 400

    400

    #65A1FA

    oklch(70.7% 0.145 258.1)

  6. Step 500

    500 (this color)

    #317FEF

    oklch(60.9% 0.185 258.2)

  7. Step 600

    600

    #0C6CE6

    oklch(55.6% 0.202 258.3)

  8. Step 700

    700

    #005AC6

    oklch(49.1% 0.184 258.2)

  9. Step 800

    800

    #054AA1

    oklch(42.7% 0.154 258.1)

  10. Step 900

    900

    #113F80

    oklch(37.7% 0.12 258.2)

  11. Step 950

    950

    #0C254B

    oklch(26.9% 0.077 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#317FEF 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)#408AF30.033
Deuteranopia (no green cones)#0079ED0.026
Tritanopia (no blue cones)#009AAB0.143
Achromatopsia (no color)#8181810.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #317FEF

    #317FEF

    oklch(60.9% 0.185 258.2)

  • #AC7800

    #AC7800

    oklch(61% 0.127 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317FEF

    #317FEF

    oklch(60.9% 0.185 258.2)

  • #0090BB

    #0090BB

    oklch(61% 0.119 228)

  • #816AE9

    #816AE9

    oklch(60.9% 0.184 288)

Open the analogous palette in the generator

Split complementary

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

  • #317FEF

    #317FEF

    oklch(60.9% 0.185 258.2)

  • #CE5C00

    #CE5C00

    oklch(60.8% 0.165 48.1)

  • #8B8800

    #8B8800

    oklch(60.9% 0.132 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317FEF

    #317FEF

    oklch(60.9% 0.185 258.2)

  • #DB4657

    #DB4657

    oklch(60.9% 0.185 18.1)

  • #3F9B0B

    #3F9B0B

    oklch(61% 0.185 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317FEF

    #317FEF

    oklch(60.9% 0.185 258.2)

  • #CE4996

    #CE4996

    oklch(61% 0.185 348.2)

  • #AC7800

    #AC7800

    oklch(61% 0.127 78.4)

  • #009A75

    #009A75

    oklch(61% 0.123 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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