#315F91#315F91
#315F91 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.096 H 252.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #315F91 |
|---|---|
| RGB | rgb(49, 95, 145) |
| HSL | hsl(211, 49%, 38%) |
| HSV | hsv(211, 66%, 57%) |
| CMYK | cmyk(66.2%, 34.5%, 0%, 43.1%) |
| CIE-LAB | lab(39.38, 0.97, -32.20) |
| CIE-LCH | lch(39.38, 32.22, 271.72°) |
| OKLab | oklab(47.71% -0.0293 -0.0912) |
| OKLCH | oklch(47.71% 0.096 252.2) |
| XYZ | xyz(10.4678, 10.8807, 28.3311) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.92
Denim (survey)
#3B638C
ΔE00 1.99
Denim Blue
#3B5B92
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 4.12
Ugly Blue
#31668A
ΔE00 4.69
Denim
#1560BD
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315F91 #916331
analogous
#318F91 #315F91 #333191
triadic
#315F91 #91315F #5F9131
tetradic
#315F91 #91318F #916331 #319133
square
#315F91 #91318F #916331 #319133
split-complementary
#315F91 #913331 #8F9131
monochromatic
#122336 #224163 #315F91 #417DBF #6E9CCE
Accessibility & contrast
On white
6.61
#315F91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#315F91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315F91
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315F91 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315f91; /* rgb */ color: rgb(49, 95, 145); /* oklch */ color: oklch(47.7% 0.096 252.2);
Tailwind
colors: {
custom: {
50: '#738cb1',
500: '#315f91',
950: '#000000',
},
}SCSS
$custom: #315f91; $custom-light: #738cb1; $custom-dark: #000000;
JSON
{
"hex": "#315f91",
"rgb": {
"r": 49,
"g": 95,
"b": 145
},
"hsl": {
"h": 211.25,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.47711,
"c": 0.0958,
"h": 252.2
},
"luminance": 0.10882
}Semantic roles & 50–950 ramp
primary
#315F91
secondary
#B69168
accent
#974FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C11
muted
#7B7D80