#2C428D#2C428D
#2C428D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.127 H 268.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C428D |
|---|---|
| RGB | rgb(44, 66, 141) |
| HSL | hsl(226, 52%, 36%) |
| HSV | hsv(226, 69%, 55%) |
| CMYK | cmyk(68.8%, 53.2%, 0%, 44.7%) |
| CIE-LAB | lab(30.29, 17.69, -44.29) |
| CIE-LCH | lch(30.29, 47.69, 291.78°) |
| OKLab | oklab(40.56% -0.0044 -0.1272) |
| OKLCH | oklch(40.56% 0.127 268) |
| XYZ | xyz(7.7930, 6.3542, 26.0099) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.48
Darkish Blue
#014182
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.04
Blueberry
#464196
ΔE00 5.18
Twilight Blue
#0A437A
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C428D #8D772C
analogous
#2C738D #2C428D #472C8D
triadic
#2C428D #8D2C42 #428D2C
tetradic
#2C428D #8D2C73 #8D772C #2C8D47
square
#2C428D #8D2C73 #8D772C #2C8D47
split-complementary
#2C428D #8D472C #738D2C
monochromatic
#0F1630 #1D2C5E #2C428D #3B58BC #657DCF
Accessibility & contrast
On white
9.25
#2C428D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C428D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C428D
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C428D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C428D | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c428d; /* rgb */ color: rgb(44, 66, 141); /* oklch */ color: oklch(40.6% 0.127 268.0);
Tailwind
colors: {
custom: {
50: '#7176af',
500: '#2c428d',
950: '#000000',
},
}SCSS
$custom: #2c428d; $custom-light: #7176af; $custom-dark: #000000;
JSON
{
"hex": "#2c428d",
"rgb": {
"r": 44,
"g": 66,
"b": 141
},
"hsl": {
"h": 226.392,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.40555,
"c": 0.12725,
"h": 268
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#2C428D
secondary
#B5A260
accent
#BB4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F