#314796#314796
#314796 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.132 H 268.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #314796 |
|---|---|
| RGB | rgb(49, 71, 150) |
| HSL | hsl(227, 51%, 39%) |
| HSV | hsv(227, 67%, 59%) |
| CMYK | cmyk(67.3%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.61, 18.55, -46.03) |
| CIE-LCH | lch(32.61, 49.62, 291.95°) |
| OKLab | oklab(42.59% -0.0033 -0.1321) |
| OKLCH | oklch(42.59% 0.132 268.5) |
| XYZ | xyz(9.0230, 7.3606, 29.7935) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.31
Cobalt
#0047AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.02
Darkish Blue
#014182
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 5.98
Dusk Blue
#26538D
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314796 #968031
analogous
#317A96 #314796 #4E3196
triadic
#314796 #963147 #479631
tetradic
#314796 #96317A #968031 #31964E
square
#314796 #96317A #968031 #31964E
split-complementary
#314796 #964E31 #7A9631
monochromatic
#131B3A #223168 #314796 #435EC1 #7186D1
Accessibility & contrast
On white
8.49
#314796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#314796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314796
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314796 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175199
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314796; /* rgb */ color: rgb(49, 71, 150); /* oklch */ color: oklch(42.6% 0.132 268.5);
Tailwind
colors: {
custom: {
50: '#7579b5',
500: '#314796',
950: '#000000',
},
}SCSS
$custom: #314796; $custom-light: #7579b5; $custom-dark: #000000;
JSON
{
"hex": "#314796",
"rgb": {
"r": 49,
"g": 71,
"b": 150
},
"hsl": {
"h": 226.931,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.42593,
"c": 0.13214,
"h": 268.5
},
"luminance": 0.07361
}Semantic roles & 50–950 ramp
primary
#314796
secondary
#B8A76A
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80