#314A94#314A94
#314A94 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.125 H 267.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #314A94 |
|---|---|
| RGB | rgb(49, 74, 148) |
| HSL | hsl(225, 50%, 39%) |
| HSV | hsv(225, 67%, 58%) |
| CMYK | cmyk(66.9%, 50%, 0%, 42%) |
| CIE-LAB | lab(33.32, 15.79, -43.66) |
| CIE-LCH | lch(33.32, 46.43, 289.88°) |
| OKLab | oklab(43.09% -0.0065 -0.1251) |
| OKLCH | oklch(43.09% 0.125 267) |
| XYZ | xyz(9.0589, 7.6878, 29.0177) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.70
Cobalt
#0047AB
ΔE00 4.20
Dusk Blue
#26538D
ΔE00 4.90
Darkish Blue
#014182
ΔE00 5.59
Denim Blue
#3B5B92
ΔE00 5.79
Sapphire
#0F52BA
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314A94 #947B31
analogous
#317B94 #314A94 #493194
triadic
#314A94 #94314A #4A9431
tetradic
#314A94 #94317B #947B31 #319449
square
#314A94 #94317B #947B31 #319449
split-complementary
#314A94 #944931 #7B9431
monochromatic
#131C38 #223366 #314A94 #4262C0 #7088D0
Accessibility & contrast
On white
8.27
#314A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#314A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314A94
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314A94 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #314a94; /* rgb */ color: rgb(49, 74, 148); /* oklch */ color: oklch(43.1% 0.125 267.0);
Tailwind
colors: {
custom: {
50: '#747cb4',
500: '#314a94',
950: '#000000',
},
}SCSS
$custom: #314a94; $custom-light: #747cb4; $custom-dark: #000000;
JSON
{
"hex": "#314a94",
"rgb": {
"r": 49,
"g": 74,
"b": 148
},
"hsl": {
"h": 224.848,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.43088,
"c": 0.12528,
"h": 267
},
"luminance": 0.07689
}Semantic roles & 50–950 ramp
primary
#314A94
secondary
#B7A469
accent
#B64EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80