#315B97#315B97
#315B97 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.1% C 0.108 H 257.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #315B97 |
|---|---|
| RGB | rgb(49, 91, 151) |
| HSL | hsl(215, 51%, 39%) |
| HSV | hsv(215, 68%, 59%) |
| CMYK | cmyk(67.5%, 39.7%, 0%, 40.8%) |
| CIE-LAB | lab(38.50, 5.71, -37.21) |
| CIE-LCH | lch(38.50, 37.65, 278.73°) |
| OKLab | oklab(47.13% -0.0234 -0.1059) |
| OKLCH | oklch(47.13% 0.108 257.5) |
| XYZ | xyz(10.5916, 10.3685, 30.7153) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.77
Light Navy Blue
#2E5A88
ΔE00 2.44
Dusk Blue
#26538D
ΔE00 2.91
Denim (survey)
#3B638C
ΔE00 3.65
Dusky Blue
#475F94
ΔE00 3.92
Denim
#1560BD
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315B97 #976D31
analogous
#318E97 #315B97 #3A3197
triadic
#315B97 #97315B #5B9731
tetradic
#315B97 #97318E #976D31 #31973A
square
#315B97 #97318E #976D31 #31973A
split-complementary
#315B97 #973A31 #8E9731
monochromatic
#13233B #223F69 #315B97 #4377C2 #7199D1
Accessibility & contrast
On white
6.83
#315B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#315B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315B97
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315B97 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #315b97; /* rgb */ color: rgb(49, 91, 151); /* oklch */ color: oklch(47.1% 0.108 257.5);
Tailwind
colors: {
custom: {
50: '#7489b6',
500: '#315b97',
950: '#000000',
},
}SCSS
$custom: #315b97; $custom-light: #7489b6; $custom-dark: #000000;
JSON
{
"hex": "#315b97",
"rgb": {
"r": 49,
"g": 91,
"b": 151
},
"hsl": {
"h": 215.294,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.47129,
"c": 0.10845,
"h": 257.5
},
"luminance": 0.1037
}Semantic roles & 50–950 ramp
primary
#315B97
secondary
#B9996B
accent
#A04DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80