#314299#314299
#314299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.143 H 270.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #314299 |
|---|---|
| RGB | rgb(49, 66, 153) |
| HSL | hsl(230, 51%, 40%) |
| HSV | hsv(230, 68%, 60%) |
| CMYK | cmyk(68%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(31.46, 23.01, -49.72) |
| CIE-LCH | lch(31.46, 54.79, 294.84°) |
| OKLab | oklab(41.79% 0.0016 -0.143) |
| OKLCH | oklch(41.79% 0.143 270.6) |
| XYZ | xyz(8.9627, 6.8485, 30.9804) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314299 #998831
analogous
#317699 #314299 #543199
triadic
#314299 #993142 #429931
tetradic
#314299 #993176 #998831 #319954
square
#314299 #993176 #998831 #319954
split-complementary
#314299 #995431 #769931
monochromatic
#131A3C #222E6B #314299 #4459C3 #7282D2
Accessibility & contrast
On white
8.86
#314299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#314299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314299
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314299 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #314299; /* rgb */ color: rgb(49, 66, 153); /* oklch */ color: oklch(41.8% 0.143 270.6);
Tailwind
colors: {
custom: {
50: '#7676b8',
500: '#314299',
950: '#000000',
},
}SCSS
$custom: #314299; $custom-light: #7676b8; $custom-dark: #000000;
JSON
{
"hex": "#314299",
"rgb": {
"r": 49,
"g": 66,
"b": 153
},
"hsl": {
"h": 230.192,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.41794,
"c": 0.14304,
"h": 270.6
},
"luminance": 0.06849
}Semantic roles & 50–950 ramp
primary
#314299
secondary
#BAAD6C
accent
#C44DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80