#314693#314693
#314693 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.129 H 268.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #314693 |
|---|---|
| RGB | rgb(49, 70, 147) |
| HSL | hsl(227, 50%, 38%) |
| HSV | hsv(227, 67%, 58%) |
| CMYK | cmyk(66.7%, 52.4%, 0%, 42.4%) |
| CIE-LAB | lab(32.12, 18.10, -44.99) |
| CIE-LCH | lch(32.12, 48.50, 291.91°) |
| OKLab | oklab(42.15% -0.0027 -0.1291) |
| OKLCH | oklch(42.15% 0.129 268.8) |
| XYZ | xyz(8.7214, 7.1391, 28.5165) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.34
Cobalt
#0047AB
ΔE00 4.49
Blueberry
#464196
ΔE00 4.91
Darkish Blue
#014182
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 6.04
Dusk Blue
#26538D
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314693 #937E31
analogous
#317793 #314693 #4D3193
triadic
#314693 #933146 #469331
tetradic
#314693 #933177 #937E31 #31934D
square
#314693 #933177 #937E31 #31934D
split-complementary
#314693 #934D31 #779331
monochromatic
#121A37 #223065 #314693 #415CC0 #6F84CF
Accessibility & contrast
On white
8.65
#314693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#314693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314693
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314693 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #314693; /* rgb */ color: rgb(49, 70, 147); /* oklch */ color: oklch(42.2% 0.129 268.8);
Tailwind
colors: {
custom: {
50: '#7479b3',
500: '#314693',
950: '#000000',
},
}SCSS
$custom: #314693; $custom-light: #7479b3; $custom-dark: #000000;
JSON
{
"hex": "#314693",
"rgb": {
"r": 49,
"g": 70,
"b": 147
},
"hsl": {
"h": 227.143,
"s": 50,
"l": 38.431
},
"oklch": {
"l": 0.42152,
"c": 0.1291,
"h": 268.8
},
"luminance": 0.0714
}Semantic roles & 50–950 ramp
primary
#314693
secondary
#B7A669
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80