#317AE8

Closest named color: Clear Blue (#247AFD). oklch(59.4% 0.182 258.8), rgb(49, 122, 232).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.182)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.07:1
White text4.13:1

Values

HEX#317AE8
RGBrgb(49, 122, 232)
HSLhsl(216, 80%, 55%)
OKLCHoklch(59.4% 0.182 258.8)

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 #317AE8 4.13:1 AA large text Lc -73.4 Content text, not long reading
Black text on #317AE8 5.07:1 AA Lc 36.1 Non-text elements, placeholder text
#317AE8 text on white 4.13:1 AA large text Lc 67.9 Content text, not long reading
#317AE8 text on black 5.07:1 AA Lc -33.7 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

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC2FA

    oklch(80.8% 0.089 259.1)

  5. Step 400

    400

    #68A1F8

    oklch(70.8% 0.142 258.6)

  6. Step 500

    500 (this color)

    #317AE8

    oklch(59.4% 0.182 258.8)

  7. Step 600

    600

    #176CE4

    oklch(55.6% 0.198 258.9)

  8. Step 700

    700

    #0759C6

    oklch(49% 0.184 259)

  9. Step 800

    800

    #0C4AA0

    oklch(42.7% 0.152 258.7)

  10. Step 900

    900

    #143F7F

    oklch(37.7% 0.118 258.7)

  11. Step 950

    950

    #0D254A

    oklch(26.9% 0.075 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#317AE8 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)#3B86EC0.034
Deuteranopia (no green cones)#0075E60.025
Tritanopia (no blue cones)#0094A60.139
Achromatopsia (no color)#7D7D7D0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #317AE8

    #317AE8

    oklch(59.4% 0.182 258.8)

  • #A57400

    #A57400

    oklch(59.4% 0.123 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317AE8

    #317AE8

    oklch(59.4% 0.182 258.8)

  • #008AB5

    #008AB5

    oklch(59.2% 0.117 229)

  • #7E65E2

    #7E65E2

    oklch(59.4% 0.182 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #317AE8

    #317AE8

    oklch(59.4% 0.182 258.8)

  • #C75A00

    #C75A00

    oklch(59.4% 0.16 48.8)

  • #858400

    #858400

    oklch(59.5% 0.129 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317AE8

    #317AE8

    oklch(59.4% 0.182 258.8)

  • #D54252

    #D54252

    oklch(59.4% 0.183 18.7)

  • #39960D

    #39960D

    oklch(59.4% 0.182 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317AE8

    #317AE8

    oklch(59.4% 0.182 258.8)

  • #C84590

    #C84590

    oklch(59.4% 0.182 348.7)

  • #A57400

    #A57400

    oklch(59.4% 0.123 79.2)

  • #009472

    #009472

    oklch(59.3% 0.118 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 #317AE8, closest first.

Similar named colors

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

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