#314C99#314C99
#314C99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.130 H 266.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #314C99 |
|---|---|
| RGB | rgb(49, 76, 153) |
| HSL | hsl(224, 51%, 40%) |
| HSV | hsv(224, 68%, 60%) |
| CMYK | cmyk(68%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(34.23, 16.32, -45.23) |
| CIE-LCH | lch(34.23, 48.09, 289.84°) |
| OKLab | oklab(43.89% -0.0078 -0.1297) |
| OKLCH | oklch(43.89% 0.13 266.5) |
| XYZ | xyz(9.5988, 8.1208, 31.1924) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.95
Cobalt
#0047AB
ΔE00 3.82
Dusk Blue
#26538D
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 5.10
Denim Blue
#3B5B92
ΔE00 5.27
Darkish Blue
#014182
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C99 #997E31
analogous
#318099 #314C99 #4A3199
triadic
#314C99 #99314C #4C9931
tetradic
#314C99 #993180 #997E31 #31994A
square
#314C99 #993180 #997E31 #31994A
split-complementary
#314C99 #994A31 #809931
monochromatic
#131E3C #22356B #314C99 #4465C3 #728BD2
Accessibility & contrast
On white
8.00
#314C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#314C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C99
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C99 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#034C97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #314c99; /* rgb */ color: rgb(49, 76, 153); /* oklch */ color: oklch(43.9% 0.130 266.5);
Tailwind
colors: {
custom: {
50: '#757db8',
500: '#314c99',
950: '#000000',
},
}SCSS
$custom: #314c99; $custom-light: #757db8; $custom-dark: #000000;
JSON
{
"hex": "#314c99",
"rgb": {
"r": 49,
"g": 76,
"b": 153
},
"hsl": {
"h": 224.423,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.43889,
"c": 0.12994,
"h": 266.5
},
"luminance": 0.08122
}Semantic roles & 50–950 ramp
primary
#314C99
secondary
#BAA66C
accent
#B64DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80