#314897#314897
#314897 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.132 H 268.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #314897 |
|---|---|
| RGB | rgb(49, 72, 151) |
| HSL | hsl(226, 51%, 39%) |
| HSV | hsv(226, 68%, 59%) |
| CMYK | cmyk(67.5%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.97, 18.25, -46.07) |
| CIE-LCH | lch(32.97, 49.55, 291.61°) |
| OKLab | oklab(42.88% -0.0042 -0.1322) |
| OKLCH | oklch(42.88% 0.132 268.2) |
| XYZ | xyz(9.1680, 7.5212, 30.2407) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.19
Cobalt
#0047AB
ΔE00 3.98
Blueberry
#464196
ΔE00 5.26
Dusk Blue
#26538D
ΔE00 5.72
Darkish Blue
#014182
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314897 #978031
analogous
#317B97 #314897 #4D3197
triadic
#314897 #973148 #489731
tetradic
#314897 #97317B #978031 #31974D
square
#314897 #97317B #978031 #31974D
split-complementary
#314897 #974D31 #7B9731
monochromatic
#131C3B #223269 #314897 #4360C2 #7187D1
Accessibility & contrast
On white
8.39
#314897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#314897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314897
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314897 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #314897; /* rgb */ color: rgb(49, 72, 151); /* oklch */ color: oklch(42.9% 0.132 268.2);
Tailwind
colors: {
custom: {
50: '#757ab6',
500: '#314897',
950: '#000000',
},
}SCSS
$custom: #314897; $custom-light: #757ab6; $custom-dark: #000000;
JSON
{
"hex": "#314897",
"rgb": {
"r": 49,
"g": 72,
"b": 151
},
"hsl": {
"h": 226.471,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.42881,
"c": 0.13227,
"h": 268.2
},
"luminance": 0.07522
}Semantic roles & 50–950 ramp
primary
#314897
secondary
#B9A76B
accent
#BB4DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80