#2C428E#2C428E
#2C428E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.129 H 268.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C428E |
|---|---|
| RGB | rgb(44, 66, 142) |
| HSL | hsl(227, 53%, 36%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(69%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.36, 18.07, -44.78) |
| CIE-LCH | lch(30.36, 48.29, 291.98°) |
| OKLab | oklab(40.63% -0.0043 -0.1286) |
| OKLCH | oklch(40.63% 0.129 268.1) |
| XYZ | xyz(7.8677, 6.3841, 26.4036) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.94
Darkish Blue
#014182
ΔE00 5.07
Blueberry
#464196
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 5.78
Twilight Blue
#0A437A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C428E #8E782C
analogous
#2C738E #2C428E #472C8E
triadic
#2C428E #8E2C42 #428E2C
tetradic
#2C428E #8E2C73 #8E782C #2C8E47
square
#2C428E #8E2C73 #8E782C #2C8E47
split-complementary
#2C428E #8E472C #738E2C
monochromatic
#0F1731 #1E2C5F #2C428E #3A58BD #657DCF
Accessibility & contrast
On white
9.22
#2C428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C428E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C428E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c428e; /* rgb */ color: rgb(44, 66, 142); /* oklch */ color: oklch(40.6% 0.129 268.1);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2c428e',
950: '#000000',
},
}SCSS
$custom: #2c428e; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2c428e",
"rgb": {
"r": 44,
"g": 66,
"b": 142
},
"hsl": {
"h": 226.531,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.40633,
"c": 0.12871,
"h": 268.1
},
"luminance": 0.06385
}Semantic roles & 50–950 ramp
primary
#2C428E
secondary
#B6A260
accent
#BC4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F