#315F90#315F90
#315F90 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.094 H 251.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #315F90 |
|---|---|
| RGB | rgb(49, 95, 144) |
| HSL | hsl(211, 49%, 38%) |
| HSV | hsv(211, 66%, 56%) |
| CMYK | cmyk(66%, 34%, 0%, 43.5%) |
| CIE-LAB | lab(39.33, 0.60, -31.68) |
| CIE-LCH | lch(39.33, 31.69, 271.09°) |
| OKLab | oklab(47.65% -0.0296 -0.0897) |
| OKLCH | oklch(47.65% 0.094 251.7) |
| XYZ | xyz(10.3910, 10.8500, 27.9268) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.86
Denim (survey)
#3B638C
ΔE00 1.92
Denim Blue
#3B5B92
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 4.15
Ugly Blue
#31668A
ΔE00 4.56
Denim
#1560BD
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315F90 #906231
analogous
#318F90 #315F90 #323190
triadic
#315F90 #90315F #5F9031
tetradic
#315F90 #90318F #906231 #319032
square
#315F90 #90318F #906231 #319032
split-complementary
#315F90 #903231 #8F9031
monochromatic
#122335 #214162 #315F90 #417DBE #6E9CCE
Accessibility & contrast
On white
6.62
#315F90 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#315F90 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315F90
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315F90 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6292
Deuteranopia (green-blind)
#3D598F
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315f90; /* rgb */ color: rgb(49, 95, 144); /* oklch */ color: oklch(47.7% 0.094 251.7);
Tailwind
colors: {
custom: {
50: '#738cb1',
500: '#315f90',
950: '#000000',
},
}SCSS
$custom: #315f90; $custom-light: #738cb1; $custom-dark: #000000;
JSON
{
"hex": "#315f90",
"rgb": {
"r": 49,
"g": 95,
"b": 144
},
"hsl": {
"h": 210.947,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.47653,
"c": 0.09444,
"h": 251.7
},
"luminance": 0.10851
}Semantic roles & 50–950 ramp
primary
#315F90
secondary
#B59068
accent
#964FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F