#315992#315992
#315992 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.104 H 257.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #315992 |
|---|---|
| RGB | rgb(49, 89, 146) |
| HSL | hsl(215, 50%, 38%) |
| HSV | hsv(215, 66%, 57%) |
| CMYK | cmyk(66.4%, 39%, 0%, 42.7%) |
| CIE-LAB | lab(37.61, 5.16, -35.60) |
| CIE-LCH | lch(37.61, 35.97, 278.24°) |
| OKLab | oklab(46.35% -0.0225 -0.1012) |
| OKLCH | oklch(46.35% 0.104 257.4) |
| XYZ | xyz(10.0254, 9.8721, 28.5657) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.65
Light Navy Blue
#2E5A88
ΔE00 2.15
Dusk Blue
#26538D
ΔE00 2.19
Denim (survey)
#3B638C
ΔE00 4.03
Dusky Blue
#475F94
ΔE00 4.04
Light Navy
#155084
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315992 #926A31
analogous
#318992 #315992 #393192
triadic
#315992 #923159 #599231
tetradic
#315992 #923189 #926A31 #319239
square
#315992 #923189 #926A31 #319239
split-complementary
#315992 #923931 #899231
monochromatic
#122136 #223D64 #315992 #4175BF #6F96CF
Accessibility & contrast
On white
7.06
#315992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#315992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315992
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315992 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #315992; /* rgb */ color: rgb(49, 89, 146); /* oklch */ color: oklch(46.4% 0.104 257.4);
Tailwind
colors: {
custom: {
50: '#7387b2',
500: '#315992',
950: '#000000',
},
}SCSS
$custom: #315992; $custom-light: #7387b2; $custom-dark: #000000;
JSON
{
"hex": "#315992",
"rgb": {
"r": 49,
"g": 89,
"b": 146
},
"hsl": {
"h": 215.258,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.4635,
"c": 0.10368,
"h": 257.4
},
"luminance": 0.09873
}Semantic roles & 50–950 ramp
primary
#315992
secondary
#B69669
accent
#A04FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80