#314AAB#314AAB
#314AAB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.158 H 268.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #314AAB |
|---|---|
| RGB | rgb(49, 74, 171) |
| HSL | hsl(228, 55%, 43%) |
| HSV | hsv(228, 71%, 67%) |
| CMYK | cmyk(71.3%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(34.98, 24.38, -54.83) |
| CIE-LCH | lch(34.98, 60.01, 293.97°) |
| OKLab | oklab(44.87% -0.0045 -0.158) |
| OKLCH | oklch(44.87% 0.158 268.4) |
| XYZ | xyz(11.0636, 8.4897, 39.5758) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.31
Sapphire
#0F52BA
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.48
Blueberry
#464196
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AAB #AB9231
analogous
#3187AB #314AAB #5531AB
triadic
#314AAB #AB314A #4AAB31
tetradic
#314AAB #AB3187 #AB9231 #31AB55
square
#314AAB #AB3187 #AB9231 #31AB55
split-complementary
#314AAB #AB5531 #87AB31
monochromatic
#16214C #23357B #314AAB #4D67CC #7D90DA
Accessibility & contrast
On white
7.78
#314AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#314AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AAB
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AAB | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314aab; /* rgb */ color: rgb(49, 74, 171); /* oklch */ color: oklch(44.9% 0.158 268.4);
Tailwind
colors: {
custom: {
50: '#797cc5',
500: '#314aab',
950: '#000000',
},
}SCSS
$custom: #314aab; $custom-light: #797cc5; $custom-dark: #000000;
JSON
{
"hex": "#314aab",
"rgb": {
"r": 49,
"g": 74,
"b": 171
},
"hsl": {
"h": 227.705,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.44868,
"c": 0.15803,
"h": 268.4
},
"luminance": 0.08491
}Semantic roles & 50–950 ramp
primary
#314AAB
secondary
#C2B375
accent
#C049DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82