#314BAB#314BAB
#314BAB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.157 H 268.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #314BAB |
|---|---|
| RGB | rgb(49, 75, 171) |
| HSL | hsl(227, 55%, 43%) |
| HSV | hsv(227, 71%, 67%) |
| CMYK | cmyk(71.3%, 56.1%, 0%, 32.9%) |
| CIE-LAB | lab(35.25, 23.72, -54.40) |
| CIE-LCH | lch(35.25, 59.34, 293.56°) |
| OKLab | oklab(45.07% -0.0054 -0.1567) |
| OKLCH | oklch(45.07% 0.157 268) |
| XYZ | xyz(11.1308, 8.6243, 39.5982) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.81
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BAB #AB9131
analogous
#3188AB #314BAB #5431AB
triadic
#314BAB #AB314B #4BAB31
tetradic
#314BAB #AB3188 #AB9131 #31AB54
square
#314BAB #AB3188 #AB9131 #31AB54
split-complementary
#314BAB #AB5431 #88AB31
monochromatic
#16214C #23367B #314BAB #4D68CC #7D91DA
Accessibility & contrast
On white
7.71
#314BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#314BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BAB
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BAB | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314bab; /* rgb */ color: rgb(49, 75, 171); /* oklch */ color: oklch(45.1% 0.157 268.0);
Tailwind
colors: {
custom: {
50: '#797cc5',
500: '#314bab',
950: '#000000',
},
}SCSS
$custom: #314bab; $custom-light: #797cc5; $custom-dark: #000000;
JSON
{
"hex": "#314bab",
"rgb": {
"r": 49,
"g": 75,
"b": 171
},
"hsl": {
"h": 227.213,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.45069,
"c": 0.15675,
"h": 268
},
"luminance": 0.08625
}Semantic roles & 50–950 ramp
primary
#314BAB
secondary
#C2B275
accent
#BF49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82