#317FB8#317FB8
#317FB8 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.116 H 244.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #317FB8 |
|---|---|
| RGB | rgb(49, 127, 184) |
| HSL | hsl(205, 58%, 46%) |
| HSV | hsv(205, 73%, 72%) |
| CMYK | cmyk(73.4%, 31%, 0%, 27.8%) |
| CIE-LAB | lab(51.03, -4.43, -36.80) |
| CIE-LCH | lch(51.03, 37.07, 263.14°) |
| OKLab | oklab(57.52% -0.0505 -0.1042) |
| OKLCH | oklch(57.52% 0.116 244.1) |
| XYZ | xyz(17.5044, 19.2904, 48.1390) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.22
Cool Blue
#4984B8
ΔE00 2.95
Nice Blue
#107AB0
ΔE00 3.30
Cerulean (survey)
#0485D1
ΔE00 3.30
Water Blue
#0E87CC
ΔE00 3.54
Bluish
#2976BB
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FB8 #B86A31
analogous
#31B8AD #317FB8 #313CB8
triadic
#317FB8 #B8317F #7FB831
tetradic
#317FB8 #AD31B8 #B86A31 #3CB831
square
#317FB8 #AD31B8 #B86A31 #3CB831
split-complementary
#317FB8 #B8313C #B8AD31
monochromatic
#173C57 #245E88 #317FB8 #559DD2 #85B9DE
Accessibility & contrast
On white
4.32
#317FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#317FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FB8
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FB8 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6581BA
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #317fb8; /* rgb */ color: rgb(49, 127, 184); /* oklch */ color: oklch(57.5% 0.116 244.1);
Tailwind
colors: {
custom: {
50: '#7ba3cd',
500: '#317fb8',
950: '#000000',
},
}SCSS
$custom: #317fb8; $custom-light: #7ba3cd; $custom-dark: #000000;
JSON
{
"hex": "#317fb8",
"rgb": {
"r": 49,
"g": 127,
"b": 184
},
"hsl": {
"h": 205.333,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.57519,
"c": 0.11581,
"h": 244.1
},
"luminance": 0.19292
}Semantic roles & 50–950 ramp
primary
#317FB8
secondary
#C89D7D
accent
#8847E1
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82