#315786#315786
#315786 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.089 H 254.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #315786 |
|---|---|
| RGB | rgb(49, 87, 134) |
| HSL | hsl(213, 46%, 36%) |
| HSV | hsv(213, 63%, 53%) |
| CMYK | cmyk(63.4%, 35.1%, 0%, 47.5%) |
| CIE-LAB | lab(36.35, 2.06, -30.31) |
| CIE-LCH | lch(36.35, 30.38, 273.89°) |
| OKLab | oklab(45.15% -0.0235 -0.0858) |
| OKLCH | oklch(45.15% 0.089 254.7) |
| XYZ | xyz(8.9763, 9.1898, 23.8504) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.55
Dusk Blue
#26538D
ΔE00 1.88
Denim Blue
#3B5B92
ΔE00 2.67
Light Navy
#155084
ΔE00 3.46
Denim (survey)
#3B638C
ΔE00 4.29
Dusky Blue
#475F94
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315786 #866031
analogous
#318186 #315786 #353186
triadic
#315786 #863157 #578631
tetradic
#315786 #863181 #866031 #318635
square
#315786 #863181 #866031 #318635
split-complementary
#315786 #863531 #818631
monochromatic
#101D2C #213A59 #315786 #4174B3 #6994C8
Accessibility & contrast
On white
7.40
#315786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#315786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315786
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315786 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435A88
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #315786; /* rgb */ color: rgb(49, 87, 134); /* oklch */ color: oklch(45.1% 0.089 254.7);
Tailwind
colors: {
custom: {
50: '#7186a9',
500: '#315786',
950: '#000000',
},
}SCSS
$custom: #315786; $custom-light: #7186a9; $custom-dark: #000000;
JSON
{
"hex": "#315786",
"rgb": {
"r": 49,
"g": 87,
"b": 134
},
"hsl": {
"h": 213.176,
"s": 46.448,
"l": 35.882
},
"oklch": {
"l": 0.45149,
"c": 0.08893,
"h": 254.7
},
"luminance": 0.09191
}Semantic roles & 50–950 ramp
primary
#315786
secondary
#B08D63
accent
#9B52D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F