#314C94#314C94
#314C94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.123 H 266.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #314C94 |
|---|---|
| RGB | rgb(49, 76, 148) |
| HSL | hsl(224, 50%, 39%) |
| HSV | hsv(224, 67%, 58%) |
| CMYK | cmyk(66.9%, 48.6%, 0%, 42%) |
| CIE-LAB | lab(33.90, 14.45, -42.74) |
| CIE-LCH | lch(33.90, 45.12, 288.68°) |
| OKLab | oklab(43.53% -0.0085 -0.1224) |
| OKLCH | oklch(43.53% 0.123 266) |
| XYZ | xyz(9.1945, 7.9591, 29.0629) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.60
Dusk Blue
#26538D
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.26
Denim Blue
#3B5B92
ΔE00 5.10
Sapphire
#0F52BA
ΔE00 5.60
Darkish Blue
#014182
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C94 #947931
analogous
#317D94 #314C94 #473194
triadic
#314C94 #94314C #4C9431
tetradic
#314C94 #94317D #947931 #319447
square
#314C94 #94317D #947931 #319447
split-complementary
#314C94 #944731 #7D9431
monochromatic
#131D38 #223466 #314C94 #4264C0 #708AD0
Accessibility & contrast
On white
8.10
#314C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#314C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C94
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C94 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275497
Deuteranopia (green-blind)
#124B93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #314c94; /* rgb */ color: rgb(49, 76, 148); /* oklch */ color: oklch(43.5% 0.123 266.0);
Tailwind
colors: {
custom: {
50: '#747db4',
500: '#314c94',
950: '#000000',
},
}SCSS
$custom: #314c94; $custom-light: #747db4; $custom-dark: #000000;
JSON
{
"hex": "#314c94",
"rgb": {
"r": 49,
"g": 76,
"b": 148
},
"hsl": {
"h": 223.636,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.43525,
"c": 0.12266,
"h": 266
},
"luminance": 0.0796
}Semantic roles & 50–950 ramp
primary
#314C94
secondary
#B7A269
accent
#B44EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80