#317BDF
Closest named color: Royal Blue (#4169E1). oklch(59% 0.169 257.2), rgb(49, 123, 223).
Aa
Black text reads best on this color (5.02:1).
About this color
#317BDF is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.169 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.046 away. Black text reads best on it, at 5.02:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.169) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 5.02:1 |
| White text | 4.17:1 |
Values
| HEX | #317BDF |
| RGB | rgb(49, 123, 223) |
| HSL | hsl(214, 73%, 53%) |
| OKLCH | oklch(59% 0.169 257.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #317BDF | 4.17:1 | AA large text | Lc -73.8 | Content text, not long reading |
| Black text on #317BDF | 5.02:1 | AA | Lc 35.8 | Non-text elements, placeholder text |
| #317BDF text on white | 4.17:1 | AA large text | Lc 68.3 | Content text, not long reading |
| #317BDF text on black | 5.02:1 | AA | Lc -33.3 | 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 600.
-
Step 50
50
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E1EBF9
oklch(93.7% 0.022 256.7)
-
Step 200
200
#C8DBF6
oklch(88.6% 0.043 257.1)
-
Step 300
300
#A2C3F2
oklch(81% 0.076 257.2)
-
Step 400
400
#6EA2EC
oklch(70.7% 0.123 257.3)
-
Step 500
500
#4689E5
oklch(63.1% 0.155 257)
-
Step 600
600 (this color)
#317BDF
oklch(59% 0.169 257.2)
-
Step 700
700
#185EB7
oklch(49.2% 0.156 257)
-
Step 800
800
#174D94
oklch(42.7% 0.13 257.1)
-
Step 900
900
#1A4176
oklch(37.8% 0.101 257)
-
Step 950
950
#102645
oklch(26.9% 0.064 257.3)
#317BDF 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #4684E3 | 0.032 |
| Deuteranopia (no green cones) | #1F75DD | 0.021 |
| Tritanopia (no blue cones) | #0093A2 | 0.130 |
| Achromatopsia (no color) | #7C7C7C | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #317BDF
#317BDF
oklch(59% 0.169 257.2)
- #A57200
#A57200
oklch(59% 0.123 77.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #317BDF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.046
- Clear Blue #247AFD ΔE 0.046
- Cerulean Blue #056EEE ΔE 0.048
- Windows Blue #3778BF ΔE 0.049
- Water Blue #0E87CC ΔE 0.049
- Dark Sky Blue #448EE4 ΔE 0.055
- Soft Blue #6488EA ΔE 0.065
- Dodger Blue #1E90FF ΔE 0.067
Use #317BDF 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.