#31448C#31448C
#31448C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.121 H 269.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #31448C |
|---|---|
| RGB | rgb(49, 68, 140) |
| HSL | hsl(227, 48%, 37%) |
| HSV | hsv(227, 65%, 55%) |
| CMYK | cmyk(65%, 51.4%, 0%, 45.1%) |
| CIE-LAB | lab(31.07, 16.85, -42.40) |
| CIE-LCH | lch(31.07, 45.63, 291.67°) |
| OKLab | oklab(41.2% -0.0014 -0.1215) |
| OKLCH | oklch(41.2% 0.121 269.3) |
| XYZ | xyz(8.0658, 6.6800, 25.6702) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.63
Blueberry
#464196
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 6.03
Twilight Blue
#0A437A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31448C #8C7931
analogous
#31718C #31448C #4C318C
triadic
#31448C #8C3144 #448C31
tetradic
#31448C #8C3171 #8C7931 #318C4C
square
#31448C #8C3171 #8C7931 #318C4C
split-complementary
#31448C #8C4C31 #718C31
monochromatic
#111831 #212E5F #31448C #415AB9 #6C80CC
Accessibility & contrast
On white
8.99
#31448C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#31448C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31448C
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31448C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31448C | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #31448c; /* rgb */ color: rgb(49, 68, 140); /* oklch */ color: oklch(41.2% 0.121 269.3);
Tailwind
colors: {
custom: {
50: '#7377ae',
500: '#31448c',
950: '#000000',
},
}SCSS
$custom: #31448c; $custom-light: #7377ae; $custom-dark: #000000;
JSON
{
"hex": "#31448c",
"rgb": {
"r": 49,
"g": 68,
"b": 140
},
"hsl": {
"h": 227.473,
"s": 48.148,
"l": 37.059
},
"oklch": {
"l": 0.41197,
"c": 0.12149,
"h": 269.3
},
"luminance": 0.06681
}Semantic roles & 50–950 ramp
primary
#31448C
secondary
#B3A366
accent
#BB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F