#315897#315897
#315897 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.112 H 259.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #315897 |
|---|---|
| RGB | rgb(49, 88, 151) |
| HSL | hsl(217, 51%, 39%) |
| HSV | hsv(217, 68%, 59%) |
| CMYK | cmyk(67.5%, 41.7%, 0%, 40.8%) |
| CIE-LAB | lab(37.60, 7.65, -38.63) |
| CIE-LCH | lch(37.60, 39.38, 281.21°) |
| OKLab | oklab(46.43% -0.0203 -0.1101) |
| OKLCH | oklch(46.43% 0.112 259.6) |
| XYZ | xyz(10.3403, 9.8658, 30.6315) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.68
Dusk Blue
#26538D
ΔE00 2.36
Light Navy Blue
#2E5A88
ΔE00 2.95
Dusky Blue
#475F94
ΔE00 3.97
Denim (survey)
#3B638C
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315897 #977031
analogous
#318B97 #315897 #3D3197
triadic
#315897 #973158 #589731
tetradic
#315897 #97318B #977031 #31973D
square
#315897 #97318B #977031 #31973D
split-complementary
#315897 #973D31 #8B9731
monochromatic
#13223B #223D69 #315897 #4374C2 #7196D1
Accessibility & contrast
On white
7.06
#315897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#315897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315897
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315897 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5E99
Deuteranopia (green-blind)
#2C5496
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #315897; /* rgb */ color: rgb(49, 88, 151); /* oklch */ color: oklch(46.4% 0.112 259.6);
Tailwind
colors: {
custom: {
50: '#7486b6',
500: '#315897',
950: '#000000',
},
}SCSS
$custom: #315897; $custom-light: #7486b6; $custom-dark: #000000;
JSON
{
"hex": "#315897",
"rgb": {
"r": 49,
"g": 88,
"b": 151
},
"hsl": {
"h": 217.059,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.46434,
"c": 0.11197,
"h": 259.6
},
"luminance": 0.09867
}Semantic roles & 50–950 ramp
primary
#315897
secondary
#B99B6B
accent
#A54DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80