#31428F#31428F
#31428F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.129 H 270.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #31428F |
|---|---|
| RGB | rgb(49, 66, 143) |
| HSL | hsl(229, 49%, 38%) |
| HSV | hsv(229, 66%, 56%) |
| CMYK | cmyk(65.7%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.72, 19.31, -44.81) |
| CIE-LCH | lch(30.72, 48.80, 293.31°) |
| OKLab | oklab(41% 0.0009 -0.1286) |
| OKLCH | oklch(41% 0.129 270.4) |
| XYZ | xyz(8.1711, 6.5318, 26.8114) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.25
Cobalt
#0047AB
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 5.59
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31428F #8F7E31
analogous
#31718F #31428F #4F318F
triadic
#31428F #8F3142 #428F31
tetradic
#31428F #8F3171 #8F7E31 #318F4F
square
#31428F #8F3171 #8F7E31 #318F4F
split-complementary
#31428F #8F4F31 #718F31
monochromatic
#121834 #212D61 #31428F #4157BD #6D7FCD
Accessibility & contrast
On white
9.10
#31428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#31428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31428F
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31428F | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #31428f; /* rgb */ color: rgb(49, 66, 143); /* oklch */ color: oklch(41.0% 0.129 270.4);
Tailwind
colors: {
custom: {
50: '#7476b0',
500: '#31428f',
950: '#000000',
},
}SCSS
$custom: #31428f; $custom-light: #7476b0; $custom-dark: #000000;
JSON
{
"hex": "#31428f",
"rgb": {
"r": 49,
"g": 66,
"b": 143
},
"hsl": {
"h": 229.149,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.41,
"c": 0.1286,
"h": 270.4
},
"luminance": 0.06533
}Semantic roles & 50–950 ramp
primary
#31428F
secondary
#B5A767
accent
#C04FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F