#315697#315697
#315697 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.0% C 0.114 H 260.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #315697 |
|---|---|
| RGB | rgb(49, 86, 151) |
| HSL | hsl(218, 51%, 39%) |
| HSV | hsv(218, 68%, 59%) |
| CMYK | cmyk(67.5%, 43%, 0%, 40.8%) |
| CIE-LAB | lab(37.01, 8.96, -39.58) |
| CIE-LCH | lch(37.01, 40.58, 282.75°) |
| OKLab | oklab(45.98% -0.0182 -0.1129) |
| OKLCH | oklch(45.98% 0.114 260.8) |
| XYZ | xyz(10.1783, 9.5419, 30.5775) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.02
Dusk Blue
#26538D
ΔE00 2.27
Light Navy Blue
#2E5A88
ΔE00 3.44
Dusky Blue
#475F94
ΔE00 4.18
Cobalt (survey)
#1E488F
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315697 #977231
analogous
#318997 #315697 #3F3197
triadic
#315697 #973156 #569731
tetradic
#315697 #973189 #977231 #31973F
square
#315697 #973189 #977231 #31973F
split-complementary
#315697 #973F31 #899731
monochromatic
#13213B #223C69 #315697 #4371C2 #7194D1
Accessibility & contrast
On white
7.22
#315697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#315697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315697
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315697 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #315697; /* rgb */ color: rgb(49, 86, 151); /* oklch */ color: oklch(46.0% 0.114 260.8);
Tailwind
colors: {
custom: {
50: '#7485b6',
500: '#315697',
950: '#000000',
},
}SCSS
$custom: #315697; $custom-light: #7485b6; $custom-dark: #000000;
JSON
{
"hex": "#315697",
"rgb": {
"r": 49,
"g": 86,
"b": 151
},
"hsl": {
"h": 218.235,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.45976,
"c": 0.11438,
"h": 260.8
},
"luminance": 0.09543
}Semantic roles & 50–950 ramp
primary
#315697
secondary
#B99D6B
accent
#A74DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80