#317AEB

Closest named color: Clear Blue (#247AFD). oklch(59.6% 0.186 259.2), rgb(49, 122, 235).

Aa

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

About this color

#317AEB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.186 and its hue 259°. 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.11:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.186)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.11:1
White text4.10:1

Values

HEX#317AEB
RGBrgb(49, 122, 235)
HSLhsl(216, 82%, 56%)
OKLCHoklch(59.6% 0.186 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 #317AEB 4.10:1 AA large text Lc -73.2 Content text, not long reading
Black text on #317AEB 5.11:1 AA Lc 36.4 Non-text elements, placeholder text
#317AEB text on white 4.10:1 AA large text Lc 67.7 Content text, not long reading
#317AEB text on black 5.11:1 AA Lc -34.0 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

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DBFB

    oklch(88.6% 0.05 258.7)

  4. Step 300

    300

    #9EC2FC

    oklch(80.9% 0.091 259.8)

  5. Step 400

    400

    #67A0FA

    oklch(70.6% 0.146 259.2)

  6. Step 500

    500 (this color)

    #317AEB

    oklch(59.6% 0.186 259.2)

  7. Step 600

    600

    #166BE6

    oklch(55.5% 0.202 259.2)

  8. Step 700

    700

    #0659C8

    oklch(49.2% 0.187 259.1)

  9. Step 800

    800

    #0C49A2

    oklch(42.7% 0.156 259.3)

  10. Step 900

    900

    #143E80

    oklch(37.6% 0.121 259.5)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#317AEB 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)#3886EF0.033
Deuteranopia (no green cones)#0075E90.025
Tritanopia (no blue cones)#0095A70.143
Achromatopsia (no color)#7D7D7D0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #317AEB

    #317AEB

    oklch(59.6% 0.186 259.2)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317AEB

    #317AEB

    oklch(59.6% 0.186 259.2)

  • #008BB7

    #008BB7

    oklch(59.6% 0.118 229.5)

  • #7F65E4

    #7F65E4

    oklch(59.6% 0.185 289)

Open the analogous palette in the generator

Split complementary

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

  • #317AEB

    #317AEB

    oklch(59.6% 0.186 259.2)

  • #C75B00

    #C75B00

    oklch(59.6% 0.159 49.2)

  • #858400

    #858400

    oklch(59.5% 0.129 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317AEB

    #317AEB

    oklch(59.6% 0.186 259.2)

  • #D74150

    #D74150

    oklch(59.6% 0.186 19.4)

  • #369708

    #369708

    oklch(59.5% 0.185 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317AEB

    #317AEB

    oklch(59.6% 0.186 259.2)

  • #CA4490

    #CA4490

    oklch(59.6% 0.185 349.2)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

  • #009573

    #009573

    oklch(59.5% 0.119 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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