#315790#315790
#315790 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.103 H 258.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #315790 |
|---|---|
| RGB | rgb(49, 87, 144) |
| HSL | hsl(216, 49%, 38%) |
| HSV | hsv(216, 66%, 56%) |
| CMYK | cmyk(66%, 39.6%, 0%, 43.5%) |
| CIE-LAB | lab(36.90, 5.71, -35.52) |
| CIE-LCH | lch(36.90, 35.98, 279.14°) |
| OKLab | oklab(45.76% -0.0209 -0.101) |
| OKLCH | oklch(45.76% 0.103 258.3) |
| XYZ | xyz(9.7071, 9.4820, 27.6988) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.75
Denim Blue
#3B5B92
ΔE00 1.81
Light Navy Blue
#2E5A88
ΔE00 2.49
Light Navy
#155084
ΔE00 4.18
Dusky Blue
#475F94
ΔE00 4.18
Denim (survey)
#3B638C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315790 #906A31
analogous
#318690 #315790 #3A3190
triadic
#315790 #903157 #579031
tetradic
#315790 #903186 #906A31 #31903A
square
#315790 #903186 #906A31 #31903A
split-complementary
#315790 #903A31 #869031
monochromatic
#122035 #213B62 #315790 #4173BE #6E94CE
Accessibility & contrast
On white
7.25
#315790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#315790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315790
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315790 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5C92
Deuteranopia (green-blind)
#30538F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #315790; /* rgb */ color: rgb(49, 87, 144); /* oklch */ color: oklch(45.8% 0.103 258.3);
Tailwind
colors: {
custom: {
50: '#7386b1',
500: '#315790',
950: '#000000',
},
}SCSS
$custom: #315790; $custom-light: #7386b1; $custom-dark: #000000;
JSON
{
"hex": "#315790",
"rgb": {
"r": 49,
"g": 87,
"b": 144
},
"hsl": {
"h": 216,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.45756,
"c": 0.10314,
"h": 258.3
},
"luminance": 0.09483
}Semantic roles & 50–950 ramp
primary
#315790
secondary
#B59668
accent
#A24FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F