#314895#314895
#314895 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.129 H 268.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #314895 |
|---|---|
| RGB | rgb(49, 72, 149) |
| HSL | hsl(226, 51%, 39%) |
| HSV | hsv(226, 67%, 58%) |
| CMYK | cmyk(67.1%, 51.7%, 0%, 41.6%) |
| CIE-LAB | lab(32.83, 17.50, -45.08) |
| CIE-LCH | lch(32.83, 48.36, 291.22°) |
| OKLab | oklab(42.73% -0.0044 -0.1293) |
| OKLCH | oklch(42.73% 0.129 268) |
| XYZ | xyz(9.0069, 7.4568, 29.3926) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.15
Blueberry
#464196
ΔE00 5.34
Dusk Blue
#26538D
ΔE00 5.61
Darkish Blue
#014182
ΔE00 5.71
Sapphire
#0F52BA
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314895 #957E31
analogous
#317A95 #314895 #4C3195
triadic
#314895 #953148 #489531
tetradic
#314895 #95317A #957E31 #31954C
square
#314895 #95317A #957E31 #31954C
split-complementary
#314895 #954C31 #7A9531
monochromatic
#131B39 #223267 #314895 #425FC1 #7086D0
Accessibility & contrast
On white
8.43
#314895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#314895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314895
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314895 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314895; /* rgb */ color: rgb(49, 72, 149); /* oklch */ color: oklch(42.7% 0.129 268.0);
Tailwind
colors: {
custom: {
50: '#757ab5',
500: '#314895',
950: '#000000',
},
}SCSS
$custom: #314895; $custom-light: #757ab5; $custom-dark: #000000;
JSON
{
"hex": "#314895",
"rgb": {
"r": 49,
"g": 72,
"b": 149
},
"hsl": {
"h": 226.2,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.4273,
"c": 0.12937,
"h": 268
},
"luminance": 0.07458
}Semantic roles & 50–950 ramp
primary
#314895
secondary
#B8A66A
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80