#317FC4#317FC4
#317FC4 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.130 H 248.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #317FC4 |
|---|---|
| RGB | rgb(49, 127, 196) |
| HSL | hsl(208, 60%, 48%) |
| HSV | hsv(208, 75%, 77%) |
| CMYK | cmyk(75%, 35.2%, 0%, 23.1%) |
| CIE-LAB | lab(51.63, -0.09, -42.73) |
| CIE-LCH | lch(51.63, 42.73, 269.88°) |
| OKLab | oklab(58.19% -0.0471 -0.1215) |
| OKLCH | oklch(58.19% 0.13 248.8) |
| XYZ | xyz(18.8160, 19.8151, 55.0469) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.54
Cool Blue
#4984B8
ΔE00 2.74
Windows Blue
#3778BF
ΔE00 2.99
Cerulean (survey)
#0485D1
ΔE00 3.13
Bluish
#2976BB
ΔE00 3.43
Water Blue
#0E87CC
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FC4 #C47631
analogous
#31C4BF #317FC4 #3136C4
triadic
#317FC4 #C4317F #7FC431
tetradic
#317FC4 #BF31C4 #C47631 #36C431
square
#317FC4 #BF31C4 #C47631 #36C431
split-complementary
#317FC4 #C43136 #C4BF31
monochromatic
#194062 #255F93 #317FC4 #5C9DD6 #8DBAE2
Accessibility & contrast
On white
4.23
#317FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#317FC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FC4
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FC4 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F83C7
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #317fc4; /* rgb */ color: rgb(49, 127, 196); /* oklch */ color: oklch(58.2% 0.130 248.8);
Tailwind
colors: {
custom: {
50: '#7da3d6',
500: '#317fc4',
950: '#000000',
},
}SCSS
$custom: #317fc4; $custom-light: #7da3d6; $custom-dark: #000000;
JSON
{
"hex": "#317fc4",
"rgb": {
"r": 49,
"g": 127,
"b": 196
},
"hsl": {
"h": 208.163,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.58191,
"c": 0.1303,
"h": 248.8
},
"luminance": 0.19817
}Semantic roles & 50–950 ramp
primary
#317FC4
secondary
#CDA684
accent
#8F45E3
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83