#314792#314792
#314792 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.126 H 268.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #314792 |
|---|---|
| RGB | rgb(49, 71, 146) |
| HSL | hsl(226, 50%, 38%) |
| HSV | hsv(226, 66%, 57%) |
| CMYK | cmyk(66.4%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(32.33, 17.06, -44.04) |
| CIE-LCH | lch(32.33, 47.23, 291.17°) |
| OKLab | oklab(42.29% -0.0038 -0.1263) |
| OKLCH | oklch(42.29% 0.126 268.3) |
| XYZ | xyz(8.7064, 7.2340, 28.1260) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.07
Cobalt
#0047AB
ΔE00 4.50
Blueberry
#464196
ΔE00 5.23
Darkish Blue
#014182
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 5.81
Twilight Blue
#0A437A
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314792 #927C31
analogous
#317792 #314792 #4B3192
triadic
#314792 #923147 #479231
tetradic
#314792 #923177 #927C31 #31924B
square
#314792 #923177 #927C31 #31924B
split-complementary
#314792 #924B31 #779231
monochromatic
#121A36 #223164 #314792 #415EBF #6F85CF
Accessibility & contrast
On white
8.58
#314792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#314792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314792
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314792 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #314792; /* rgb */ color: rgb(49, 71, 146); /* oklch */ color: oklch(42.3% 0.126 268.3);
Tailwind
colors: {
custom: {
50: '#7479b2',
500: '#314792',
950: '#000000',
},
}SCSS
$custom: #314792; $custom-light: #7479b2; $custom-dark: #000000;
JSON
{
"hex": "#314792",
"rgb": {
"r": 49,
"g": 71,
"b": 146
},
"hsl": {
"h": 226.392,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.42291,
"c": 0.12632,
"h": 268.3
},
"luminance": 0.07235
}Semantic roles & 50–950 ramp
primary
#314792
secondary
#B6A569
accent
#BA4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80