#314AA8#314AA8
#314AA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.154 H 268.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #314AA8 |
|---|---|
| RGB | rgb(49, 74, 168) |
| HSL | hsl(227, 55%, 43%) |
| HSV | hsv(227, 71%, 66%) |
| CMYK | cmyk(70.8%, 56%, 0%, 34.1%) |
| CIE-LAB | lab(34.76, 23.26, -53.41) |
| CIE-LCH | lch(34.76, 58.26, 293.53°) |
| OKLab | oklab(44.63% -0.0047 -0.1538) |
| OKLCH | oklch(44.63% 0.154 268.3) |
| XYZ | xyz(10.7808, 8.3766, 38.0869) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Sapphire
#0F52BA
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.58
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AA8 #A88F31
analogous
#3185A8 #314AA8 #5331A8
triadic
#314AA8 #A8314A #4AA831
tetradic
#314AA8 #A83185 #A88F31 #31A853
square
#314AA8 #A83185 #A88F31 #31A853
split-complementary
#314AA8 #A85331 #85A831
monochromatic
#152049 #233579 #314AA8 #4C66CB #7B8FD8
Accessibility & contrast
On white
7.85
#314AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#314AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AA8
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AA8 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314aa8; /* rgb */ color: rgb(49, 74, 168); /* oklch */ color: oklch(44.6% 0.154 268.3);
Tailwind
colors: {
custom: {
50: '#797cc3',
500: '#314aa8',
950: '#000000',
},
}SCSS
$custom: #314aa8; $custom-light: #797cc3; $custom-dark: #000000;
JSON
{
"hex": "#314aa8",
"rgb": {
"r": 49,
"g": 74,
"b": 168
},
"hsl": {
"h": 227.395,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.44626,
"c": 0.15385,
"h": 268.3
},
"luminance": 0.08378
}Semantic roles & 50–950 ramp
primary
#314AA8
secondary
#C1B174
accent
#BF4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81