#315796#315796
#315796 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.112 H 260.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #315796 |
|---|---|
| RGB | rgb(49, 87, 150) |
| HSL | hsl(217, 51%, 39%) |
| HSV | hsv(217, 67%, 59%) |
| CMYK | cmyk(67.3%, 42%, 0%, 41.2%) |
| CIE-LAB | lab(37.24, 7.93, -38.60) |
| CIE-LCH | lch(37.24, 39.41, 281.61°) |
| OKLab | oklab(46.14% -0.0195 -0.11) |
| OKLCH | oklch(46.14% 0.112 260) |
| XYZ | xyz(10.1779, 9.6704, 30.1784) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.78
Dusk Blue
#26538D
ΔE00 2.19
Light Navy Blue
#2E5A88
ΔE00 3.08
Dusky Blue
#475F94
ΔE00 4.06
Light Navy
#155084
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315796 #967031
analogous
#318A96 #315796 #3E3196
triadic
#315796 #963157 #579631
tetradic
#315796 #96318A #967031 #31963E
square
#315796 #96318A #967031 #31963E
split-complementary
#315796 #963E31 #8A9631
monochromatic
#13213A #223C68 #315796 #4372C1 #7195D1
Accessibility & contrast
On white
7.16
#315796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#315796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315796
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315796 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5D98
Deuteranopia (green-blind)
#2B5395
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #315796; /* rgb */ color: rgb(49, 87, 150); /* oklch */ color: oklch(46.1% 0.112 260.0);
Tailwind
colors: {
custom: {
50: '#7486b5',
500: '#315796',
950: '#000000',
},
}SCSS
$custom: #315796; $custom-light: #7486b5; $custom-dark: #000000;
JSON
{
"hex": "#315796",
"rgb": {
"r": 49,
"g": 87,
"b": 150
},
"hsl": {
"h": 217.426,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.46139,
"c": 0.11173,
"h": 260
},
"luminance": 0.09671
}Semantic roles & 50–950 ramp
primary
#315796
secondary
#B89B6A
accent
#A54EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80