#314BAA#314BAA
#314BAA is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.155 H 268.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #314BAA |
|---|---|
| RGB | rgb(49, 75, 170) |
| HSL | hsl(227, 55%, 43%) |
| HSV | hsv(227, 71%, 67%) |
| CMYK | cmyk(71.2%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(35.18, 23.34, -53.92) |
| CIE-LCH | lch(35.18, 58.76, 293.41°) |
| OKLab | oklab(44.99% -0.0054 -0.1553) |
| OKLCH | oklch(44.99% 0.155 268) |
| XYZ | xyz(11.0359, 8.5863, 39.0981) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 4.17
Cobalt (survey)
#1E488F
ΔE00 4.90
Blue Blue
#2242C7
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.84
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BAA #AA9031
analogous
#3188AA #314BAA #5331AA
triadic
#314BAA #AA314B #4BAA31
tetradic
#314BAA #AA3188 #AA9031 #31AA53
square
#314BAA #AA3188 #AA9031 #31AA53
split-complementary
#314BAA #AA5331 #88AA31
monochromatic
#16214B #23367A #314BAA #4D68CC #7C90D9
Accessibility & contrast
On white
7.73
#314BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#314BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BAA
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BAA | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314baa; /* rgb */ color: rgb(49, 75, 170); /* oklch */ color: oklch(45.0% 0.155 268.0);
Tailwind
colors: {
custom: {
50: '#797cc4',
500: '#314baa',
950: '#000000',
},
}SCSS
$custom: #314baa; $custom-light: #797cc4; $custom-dark: #000000;
JSON
{
"hex": "#314baa",
"rgb": {
"r": 49,
"g": 75,
"b": 170
},
"hsl": {
"h": 227.107,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.44989,
"c": 0.15536,
"h": 268
},
"luminance": 0.08587
}Semantic roles & 50–950 ramp
primary
#314BAA
secondary
#C2B175
accent
#BE49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82