#314AA7#314AA7
#314AA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.152 H 268.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #314AA7 |
|---|---|
| RGB | rgb(49, 74, 167) |
| HSL | hsl(227, 55%, 42%) |
| HSV | hsv(227, 71%, 65%) |
| CMYK | cmyk(70.7%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(34.68, 22.89, -52.93) |
| CIE-LCH | lch(34.68, 57.67, 293.38°) |
| OKLab | oklab(44.55% -0.0047 -0.1524) |
| OKLCH | oklch(44.55% 0.152 268.2) |
| XYZ | xyz(10.6880, 8.3395, 37.5981) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Sapphire
#0F52BA
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 5.62
Blueberry
#464196
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AA7 #A78E31
analogous
#3185A7 #314AA7 #5331A7
triadic
#314AA7 #A7314A #4AA731
tetradic
#314AA7 #A73185 #A78E31 #31A753
square
#314AA7 #A73185 #A78E31 #31A753
split-complementary
#314AA7 #A75331 #85A731
monochromatic
#152048 #233578 #314AA7 #4B66CA #7A8ED8
Accessibility & contrast
On white
7.87
#314AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#314AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AA7
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AA7 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #314aa7; /* rgb */ color: rgb(49, 74, 167); /* oklch */ color: oklch(44.5% 0.152 268.2);
Tailwind
colors: {
custom: {
50: '#787cc2',
500: '#314aa7',
950: '#000000',
},
}SCSS
$custom: #314aa7; $custom-light: #787cc2; $custom-dark: #000000;
JSON
{
"hex": "#314aa7",
"rgb": {
"r": 49,
"g": 74,
"b": 167
},
"hsl": {
"h": 227.288,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.44545,
"c": 0.15245,
"h": 268.2
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#314AA7
secondary
#C1B073
accent
#BF4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81