#315690#315690
#315690 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.104 H 259.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #315690 |
|---|---|
| RGB | rgb(49, 86, 144) |
| HSL | hsl(217, 49%, 38%) |
| HSV | hsv(217, 66%, 56%) |
| CMYK | cmyk(66%, 40.3%, 0%, 43.5%) |
| CIE-LAB | lab(36.60, 6.36, -36.00) |
| CIE-LCH | lch(36.60, 36.56, 280.02°) |
| OKLab | oklab(45.52% -0.0198 -0.1024) |
| OKLCH | oklch(45.52% 0.104 259.1) |
| XYZ | xyz(9.6267, 9.3212, 27.6720) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.68
Denim Blue
#3B5B92
ΔE00 1.96
Light Navy Blue
#2E5A88
ΔE00 2.81
Light Navy
#155084
ΔE00 4.20
Dusky Blue
#475F94
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315690 #906B31
analogous
#318590 #315690 #3C3190
triadic
#315690 #903156 #569031
tetradic
#315690 #903185 #906B31 #31903C
square
#315690 #903185 #906B31 #31903C
split-complementary
#315690 #903C31 #859031
monochromatic
#121F35 #213B62 #315690 #4171BE #6E93CE
Accessibility & contrast
On white
7.33
#315690 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#315690 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315690
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315690 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315690 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #315690; /* rgb */ color: rgb(49, 86, 144); /* oklch */ color: oklch(45.5% 0.104 259.1);
Tailwind
colors: {
custom: {
50: '#7385b1',
500: '#315690',
950: '#000000',
},
}SCSS
$custom: #315690; $custom-light: #7385b1; $custom-dark: #000000;
JSON
{
"hex": "#315690",
"rgb": {
"r": 49,
"g": 86,
"b": 144
},
"hsl": {
"h": 216.632,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.45523,
"c": 0.10431,
"h": 259.1
},
"luminance": 0.09322
}Semantic roles & 50–950 ramp
primary
#315690
secondary
#B59768
accent
#A34FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F