#314BAC#314BAC
#314BAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.158 H 268.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #314BAC |
|---|---|
| RGB | rgb(49, 75, 172) |
| HSL | hsl(227, 56%, 43%) |
| HSV | hsv(227, 72%, 67%) |
| CMYK | cmyk(71.5%, 56.4%, 0%, 32.5%) |
| CIE-LAB | lab(35.33, 24.09, -54.87) |
| CIE-LCH | lch(35.33, 59.92, 293.70°) |
| OKLab | oklab(45.15% -0.0053 -0.158) |
| OKLCH | oklch(45.15% 0.158 268.1) |
| XYZ | xyz(11.2265, 8.6625, 40.1021) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 4.11
Blue Blue
#2242C7
ΔE00 4.67
Cobalt (survey)
#1E488F
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.78
Blueberry
#464196
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BAC #AC9231
analogous
#3188AC #314BAC #5431AC
triadic
#314BAC #AC314B #4BAC31
tetradic
#314BAC #AC3188 #AC9231 #31AC54
square
#314BAC #AC3188 #AC9231 #31AC54
split-complementary
#314BAC #AC5431 #88AC31
monochromatic
#16214D #23367C #314BAC #4E69CC #7D91DA
Accessibility & contrast
On white
7.68
#314BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#314BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BAC
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BAC | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314bac; /* rgb */ color: rgb(49, 75, 172); /* oklch */ color: oklch(45.1% 0.158 268.1);
Tailwind
colors: {
custom: {
50: '#797cc5',
500: '#314bac',
950: '#000000',
},
}SCSS
$custom: #314bac; $custom-light: #797cc5; $custom-dark: #000000;
JSON
{
"hex": "#314bac",
"rgb": {
"r": 49,
"g": 75,
"b": 172
},
"hsl": {
"h": 227.317,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.4515,
"c": 0.15814,
"h": 268.1
},
"luminance": 0.08664
}Semantic roles & 50–950 ramp
primary
#314BAC
secondary
#C3B376
accent
#BF49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82