#314998#314998
#314998 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.132 H 267.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #314998 |
|---|---|
| RGB | rgb(49, 73, 152) |
| HSL | hsl(226, 51%, 39%) |
| HSV | hsv(226, 68%, 60%) |
| CMYK | cmyk(67.8%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(33.32, 17.95, -46.11) |
| CIE-LCH | lch(33.32, 49.48, 291.27°) |
| OKLab | oklab(43.17% -0.0051 -0.1323) |
| OKLCH | oklch(43.17% 0.132 267.8) |
| XYZ | xyz(9.3147, 7.6842, 30.6920) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 5.45
Blueberry
#464196
ΔE00 5.50
Sapphire
#0F52BA
ΔE00 5.78
Darkish Blue
#014182
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314998 #988031
analogous
#317D98 #314998 #4C3198
triadic
#314998 #983149 #499831
tetradic
#314998 #98317D #988031 #31984C
square
#314998 #98317D #988031 #31984C
split-complementary
#314998 #984C31 #7D9831
monochromatic
#131D3B #22336A #314998 #4461C3 #7288D2
Accessibility & contrast
On white
8.28
#314998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#314998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314998
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314998 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A539B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #314998; /* rgb */ color: rgb(49, 73, 152); /* oklch */ color: oklch(43.2% 0.132 267.8);
Tailwind
colors: {
custom: {
50: '#757bb7',
500: '#314998',
950: '#000000',
},
}SCSS
$custom: #314998; $custom-light: #757bb7; $custom-dark: #000000;
JSON
{
"hex": "#314998",
"rgb": {
"r": 49,
"g": 73,
"b": 152
},
"hsl": {
"h": 226.019,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.4317,
"c": 0.13241,
"h": 267.8
},
"luminance": 0.07685
}Semantic roles & 50–950 ramp
primary
#314998
secondary
#B9A76B
accent
#BA4DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80