#315596#315596
#315596 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.114 H 261.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #315596 |
|---|---|
| RGB | rgb(49, 85, 150) |
| HSL | hsl(219, 51%, 39%) |
| HSV | hsv(219, 67%, 59%) |
| CMYK | cmyk(67.3%, 43.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.65, 9.24, -39.54) |
| CIE-LCH | lch(36.65, 40.61, 283.15°) |
| OKLab | oklab(45.68% -0.0174 -0.1128) |
| OKLCH | oklch(45.68% 0.114 261.2) |
| XYZ | xyz(10.0182, 9.3510, 30.1252) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.22
Denim Blue
#3B5B92
ΔE00 2.23
Light Navy Blue
#2E5A88
ΔE00 3.62
Cobalt (survey)
#1E488F
ΔE00 4.28
Dusky Blue
#475F94
ΔE00 4.33
Sapphire
#0F52BA
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315596 #967231
analogous
#318896 #315596 #403196
triadic
#315596 #963155 #559631
tetradic
#315596 #963188 #967231 #319640
square
#315596 #963188 #967231 #319640
split-complementary
#315596 #964031 #889631
monochromatic
#13213A #223B68 #315596 #4370C1 #7193D1
Accessibility & contrast
On white
7.32
#315596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#315596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315596
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315596 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #315596; /* rgb */ color: rgb(49, 85, 150); /* oklch */ color: oklch(45.7% 0.114 261.2);
Tailwind
colors: {
custom: {
50: '#7484b5',
500: '#315596',
950: '#000000',
},
}SCSS
$custom: #315596; $custom-light: #7484b5; $custom-dark: #000000;
JSON
{
"hex": "#315596",
"rgb": {
"r": 49,
"g": 85,
"b": 150
},
"hsl": {
"h": 218.614,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.45681,
"c": 0.11416,
"h": 261.2
},
"luminance": 0.09352
}Semantic roles & 50–950 ramp
primary
#315596
secondary
#B89D6A
accent
#A84EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80