#317FE2

Closest named color: Clear Blue (#247AFD). oklch(60% 0.168 256.2), rgb(49, 127, 226).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.168)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.26:1
White text3.98:1

Values

HEX#317FE2
RGBrgb(49, 127, 226)
HSLhsl(214, 75%, 54%)
OKLCHoklch(60% 0.168 256.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 #317FE2 3.98:1 AA large text Lc -72.3 Content text, not long reading
Black text on #317FE2 5.26:1 AA Lc 37.3 Non-text elements, placeholder text
#317FE2 text on white 3.98:1 AA large text Lc 66.8 Content text, not long reading
#317FE2 text on black 5.26:1 AA Lc -34.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF8

    oklch(88.5% 0.046 256.5)

  4. Step 300

    300

    #9EC3F6

    oklch(80.9% 0.083 256.5)

  5. Step 400

    400

    #68A2F1

    oklch(70.6% 0.132 256.5)

  6. Step 500

    500 (this color)

    #317FE2

    oklch(60% 0.168 256.2)

  7. Step 600

    600

    #1170DB

    oklch(55.6% 0.183 256.2)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #084C9A

    oklch(42.6% 0.142 256.5)

  10. Step 900

    900

    #12417A

    oklch(37.8% 0.109 255.8)

  11. Step 950

    950

    #0D2648

    oklch(27% 0.07 257)

Export this scale for Tailwind in the Tailwind colors tool

#317FE2 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)#4C88E60.035
Deuteranopia (no green cones)#2778E00.021
Tritanopia (no blue cones)#0097A50.130
Achromatopsia (no color)#7F7F7F0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #317FE2

    #317FE2

    oklch(60% 0.168 256.2)

  • #AA7400

    #AA7400

    oklch(60% 0.126 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317FE2

    #317FE2

    oklch(60% 0.168 256.2)

  • #008DB5

    #008DB5

    oklch(60% 0.115 226.7)

  • #7B6CDE

    #7B6CDE

    oklch(60.1% 0.167 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #317FE2

    #317FE2

    oklch(60% 0.168 256.2)

  • #CD5700

    #CD5700

    oklch(59.9% 0.168 46.1)

  • #8B8400

    #8B8400

    oklch(60% 0.128 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317FE2

    #317FE2

    oklch(60% 0.168 256.2)

  • #D14B5D

    #D14B5D

    oklch(60% 0.169 15.9)

  • #4C9519

    #4C9519

    oklch(59.9% 0.168 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317FE2

    #317FE2

    oklch(60% 0.168 256.2)

  • #C44E95

    #C44E95

    oklch(60.1% 0.169 346.3)

  • #AA7400

    #AA7400

    oklch(60% 0.126 76.4)

  • #00976F

    #00976F

    oklch(60% 0.124 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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