#314C95#314C95
#314C95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.124 H 266.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #314C95 |
|---|---|
| RGB | rgb(49, 76, 149) |
| HSL | hsl(224, 51%, 39%) |
| HSV | hsv(224, 67%, 58%) |
| CMYK | cmyk(67.1%, 49%, 0%, 41.6%) |
| CIE-LAB | lab(33.96, 14.82, -43.24) |
| CIE-LCH | lch(33.96, 45.71, 288.92°) |
| OKLab | oklab(43.6% -0.0084 -0.1238) |
| OKLCH | oklch(43.6% 0.124 266.1) |
| XYZ | xyz(9.2740, 7.9909, 29.4816) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.65
Cobalt
#0047AB
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 4.31
Denim Blue
#3B5B92
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.50
Darkish Blue
#014182
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314C95 #957A31
analogous
#317E95 #314C95 #483195
triadic
#314C95 #95314C #4C9531
tetradic
#314C95 #95317E #957A31 #319548
square
#314C95 #95317E #957A31 #319548
split-complementary
#314C95 #954831 #7E9531
monochromatic
#131D39 #223567 #314C95 #4264C1 #708AD0
Accessibility & contrast
On white
8.08
#314C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#314C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314C95
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314C95 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#0F4C93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #314c95; /* rgb */ color: rgb(49, 76, 149); /* oklch */ color: oklch(43.6% 0.124 266.1);
Tailwind
colors: {
custom: {
50: '#747db5',
500: '#314c95',
950: '#000000',
},
}SCSS
$custom: #314c95; $custom-light: #747db5; $custom-dark: #000000;
JSON
{
"hex": "#314c95",
"rgb": {
"r": 49,
"g": 76,
"b": 149
},
"hsl": {
"h": 223.8,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.43597,
"c": 0.12412,
"h": 266.1
},
"luminance": 0.07992
}Semantic roles & 50–950 ramp
primary
#314C95
secondary
#B8A36A
accent
#B44EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80