#317DB8#317DB8
#317DB8 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.117 H 245.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #317DB8 |
|---|---|
| RGB | rgb(49, 125, 184) |
| HSL | hsl(206, 58%, 46%) |
| HSV | hsv(206, 73%, 72%) |
| CMYK | cmyk(73.4%, 32.1%, 0%, 27.8%) |
| CIE-LAB | lab(50.43, -3.25, -37.74) |
| CIE-LCH | lch(50.43, 37.88, 265.09°) |
| OKLab | oklab(57.05% -0.0486 -0.107) |
| OKLCH | oklch(57.05% 0.118 245.6) |
| XYZ | xyz(17.2487, 18.7789, 48.0537) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.55
Bluish
#2976BB
ΔE00 2.88
Windows Blue
#3778BF
ΔE00 3.21
Cool Blue
#4984B8
ΔE00 3.28
Nice Blue
#107AB0
ΔE00 3.37
Cerulean (survey)
#0485D1
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317DB8 #B86C31
analogous
#31B8AF #317DB8 #313AB8
triadic
#317DB8 #B8317D #7DB831
tetradic
#317DB8 #AF31B8 #B86C31 #3AB831
square
#317DB8 #AF31B8 #B86C31 #3AB831
split-complementary
#317DB8 #B8313A #B8AF31
monochromatic
#173B57 #245C88 #317DB8 #559BD2 #85B7DE
Accessibility & contrast
On white
4.42
#317DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#317DB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317DB8
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317DB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317DB8 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #317db8; /* rgb */ color: rgb(49, 125, 184); /* oklch */ color: oklch(57.0% 0.117 245.6);
Tailwind
colors: {
custom: {
50: '#7ba2cd',
500: '#317db8',
950: '#000000',
},
}SCSS
$custom: #317db8; $custom-light: #7ba2cd; $custom-dark: #000000;
JSON
{
"hex": "#317db8",
"rgb": {
"r": 49,
"g": 125,
"b": 184
},
"hsl": {
"h": 206.222,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.57048,
"c": 0.1175,
"h": 245.6
},
"luminance": 0.18781
}Semantic roles & 50–950 ramp
primary
#317DB8
secondary
#C89E7D
accent
#8A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82