#315192#315192
#315192 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.113 H 262.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #315192 |
|---|---|
| RGB | rgb(49, 81, 146) |
| HSL | hsl(220, 50%, 38%) |
| HSV | hsv(220, 66%, 57%) |
| CMYK | cmyk(66.4%, 44.5%, 0%, 42.7%) |
| CIE-LAB | lab(35.23, 10.38, -39.40) |
| CIE-LCH | lch(35.23, 40.74, 284.76°) |
| OKLab | oklab(44.5% -0.014 -0.1125) |
| OKLCH | oklch(44.5% 0.113 262.9) |
| XYZ | xyz(9.3955, 8.6123, 28.3557) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.61
Cobalt (survey)
#1E488F
ΔE00 3.15
Denim Blue
#3B5B92
ΔE00 3.35
Light Navy Blue
#2E5A88
ΔE00 4.59
Light Navy
#155084
ΔE00 4.92
Cobalt
#0047AB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315192 #927231
analogous
#318192 #315192 #413192
triadic
#315192 #923151 #519231
tetradic
#315192 #923181 #927231 #319241
square
#315192 #923181 #927231 #319241
split-complementary
#315192 #924131 #819231
monochromatic
#121E36 #223864 #315192 #416BBF #6F8ECF
Accessibility & contrast
On white
7.71
#315192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#315192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315192
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315192 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325894
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #315192; /* rgb */ color: rgb(49, 81, 146); /* oklch */ color: oklch(44.5% 0.113 262.9);
Tailwind
colors: {
custom: {
50: '#7481b2',
500: '#315192',
950: '#000000',
},
}SCSS
$custom: #315192; $custom-light: #7481b2; $custom-dark: #000000;
JSON
{
"hex": "#315192",
"rgb": {
"r": 49,
"g": 81,
"b": 146
},
"hsl": {
"h": 220.206,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.44503,
"c": 0.11333,
"h": 262.9
},
"luminance": 0.08613
}Semantic roles & 50–950 ramp
primary
#315192
secondary
#B69D69
accent
#AB4FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80