#314BA1#314BA1
#314BA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.143 H 267.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #314BA1 |
|---|---|
| RGB | rgb(49, 75, 161) |
| HSL | hsl(226, 53%, 41%) |
| HSV | hsv(226, 70%, 63%) |
| CMYK | cmyk(69.6%, 53.4%, 0%, 36.9%) |
| CIE-LAB | lab(34.51, 19.98, -49.61) |
| CIE-LCH | lch(34.51, 53.48, 291.94°) |
| OKLab | oklab(44.28% -0.0061 -0.1426) |
| OKLCH | oklch(44.28% 0.143 267.6) |
| XYZ | xyz(10.2135, 8.2573, 34.7669) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.30
Cobalt (survey)
#1E488F
ΔE00 3.81
Sapphire
#0F52BA
ΔE00 4.63
Dusk Blue
#26538D
ΔE00 5.52
Blueberry
#464196
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BA1 #A18731
analogous
#3183A1 #314BA1 #4F31A1
triadic
#314BA1 #A1314B #4BA131
tetradic
#314BA1 #A13183 #A18731 #31A14F
square
#314BA1 #A13183 #A18731 #31A14F
split-complementary
#314BA1 #A14F31 #83A131
monochromatic
#141F43 #233572 #314BA1 #4865C7 #778DD6
Accessibility & contrast
On white
7.92
#314BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#314BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BA1
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BA1 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1157A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #314ba1; /* rgb */ color: rgb(49, 75, 161); /* oklch */ color: oklch(44.3% 0.143 267.6);
Tailwind
colors: {
custom: {
50: '#777cbd',
500: '#314ba1',
950: '#000000',
},
}SCSS
$custom: #314ba1; $custom-light: #777cbd; $custom-dark: #000000;
JSON
{
"hex": "#314ba1",
"rgb": {
"r": 49,
"g": 75,
"b": 161
},
"hsl": {
"h": 226.071,
"s": 53.333,
"l": 41.176
},
"oklch": {
"l": 0.4428,
"c": 0.14271,
"h": 267.6
},
"luminance": 0.08258
}Semantic roles & 50–950 ramp
primary
#314BA1
secondary
#BEAC70
accent
#BB4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81