#314990#314990
#314990 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.121 H 267.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #314990 |
|---|---|
| RGB | rgb(49, 73, 144) |
| HSL | hsl(225, 49%, 38%) |
| HSV | hsv(225, 66%, 56%) |
| CMYK | cmyk(66%, 49.3%, 0%, 43.5%) |
| CIE-LAB | lab(32.77, 14.97, -42.12) |
| CIE-LCH | lch(32.77, 44.70, 289.56°) |
| OKLab | oklab(42.58% -0.006 -0.1206) |
| OKLCH | oklch(42.58% 0.121 267.1) |
| XYZ | xyz(8.6815, 7.4309, 27.3569) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.64
Cobalt
#0047AB
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 5.05
Darkish Blue
#014182
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 5.91
Blueberry
#464196
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314990 #907831
analogous
#317890 #314990 #483190
triadic
#314990 #903149 #499031
tetradic
#314990 #903178 #907831 #319048
square
#314990 #903178 #907831 #319048
split-complementary
#314990 #904831 #789031
monochromatic
#121B35 #213262 #314990 #4160BE #6E86CE
Accessibility & contrast
On white
8.45
#314990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#314990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314990
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314990 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#10498F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314990; /* rgb */ color: rgb(49, 73, 144); /* oklch */ color: oklch(42.6% 0.121 267.1);
Tailwind
colors: {
custom: {
50: '#747bb1',
500: '#314990',
950: '#000000',
},
}SCSS
$custom: #314990; $custom-light: #747bb1; $custom-dark: #000000;
JSON
{
"hex": "#314990",
"rgb": {
"r": 49,
"g": 73,
"b": 144
},
"hsl": {
"h": 224.842,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.42578,
"c": 0.12072,
"h": 267.1
},
"luminance": 0.07432
}Semantic roles & 50–950 ramp
primary
#314990
secondary
#B5A268
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80