#317FB4#317FB4
#317FB4 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.111 H 242.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #317FB4 |
|---|---|
| RGB | rgb(49, 127, 180) |
| HSL | hsl(204, 57%, 45%) |
| HSV | hsv(204, 73%, 71%) |
| CMYK | cmyk(72.8%, 29.4%, 0%, 29.4%) |
| CIE-LAB | lab(50.83, -5.86, -34.80) |
| CIE-LCH | lch(50.83, 35.29, 260.44°) |
| OKLab | oklab(57.3% -0.0518 -0.0984) |
| OKLCH | oklch(57.3% 0.111 242.2) |
| XYZ | xyz(17.0910, 19.1251, 45.9619) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.49
Nice Blue
#107AB0
ΔE00 2.78
Cool Blue
#4984B8
ΔE00 3.32
Water Blue
#0E87CC
ΔE00 3.76
Cerulean (survey)
#0485D1
ΔE00 3.77
Bluish
#2976BB
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FB4 #B46631
analogous
#31B4A8 #317FB4 #313DB4
triadic
#317FB4 #B4317F #7FB431
tetradic
#317FB4 #A831B4 #B46631 #3DB431
square
#317FB4 #A831B4 #B46631 #3DB431
split-complementary
#317FB4 #B4313D #B4A831
monochromatic
#173B54 #245D84 #317FB4 #529DD0 #82B8DD
Accessibility & contrast
On white
4.35
#317FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#317FB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FB4
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FB4 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6780B6
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #317fb4; /* rgb */ color: rgb(49, 127, 180); /* oklch */ color: oklch(57.3% 0.111 242.2);
Tailwind
colors: {
custom: {
50: '#7aa3ca',
500: '#317fb4',
950: '#000000',
},
}SCSS
$custom: #317fb4; $custom-light: #7aa3ca; $custom-dark: #000000;
JSON
{
"hex": "#317fb4",
"rgb": {
"r": 49,
"g": 127,
"b": 180
},
"hsl": {
"h": 204.275,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.57305,
"c": 0.11118,
"h": 242.2
},
"luminance": 0.19127
}Semantic roles & 50–950 ramp
primary
#317FB4
secondary
#C6997B
accent
#8547E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82