#314896#314896
#314896 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.131 H 268.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #314896 |
|---|---|
| RGB | rgb(49, 72, 150) |
| HSL | hsl(226, 51%, 39%) |
| HSV | hsv(226, 67%, 59%) |
| CMYK | cmyk(67.3%, 52%, 0%, 41.2%) |
| CIE-LAB | lab(32.89, 17.88, -45.57) |
| CIE-LCH | lch(32.89, 48.95, 291.42°) |
| OKLab | oklab(42.81% -0.0043 -0.1307) |
| OKLCH | oklch(42.81% 0.131 268.1) |
| XYZ | xyz(9.0871, 7.4889, 29.8149) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.12
Cobalt
#0047AB
ΔE00 4.06
Blueberry
#464196
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.66
Darkish Blue
#014182
ΔE00 5.79
Sapphire
#0F52BA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314896 #967F31
analogous
#317B96 #314896 #4D3196
triadic
#314896 #963148 #489631
tetradic
#314896 #96317B #967F31 #31964D
square
#314896 #96317B #967F31 #31964D
split-complementary
#314896 #964D31 #7B9631
monochromatic
#131C3A #223268 #314896 #4360C1 #7187D1
Accessibility & contrast
On white
8.41
#314896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#314896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314896
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314896 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314896; /* rgb */ color: rgb(49, 72, 150); /* oklch */ color: oklch(42.8% 0.131 268.1);
Tailwind
colors: {
custom: {
50: '#757ab5',
500: '#314896',
950: '#000000',
},
}SCSS
$custom: #314896; $custom-light: #757ab5; $custom-dark: #000000;
JSON
{
"hex": "#314896",
"rgb": {
"r": 49,
"g": 72,
"b": 150
},
"hsl": {
"h": 226.337,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.42806,
"c": 0.13082,
"h": 268.1
},
"luminance": 0.0749
}Semantic roles & 50–950 ramp
primary
#314896
secondary
#B8A76A
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80