#2C428F#2C428F
#2C428F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.130 H 268.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C428F |
|---|---|
| RGB | rgb(44, 66, 143) |
| HSL | hsl(227, 53%, 37%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(69.2%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.43, 18.45, -45.28) |
| CIE-LCH | lch(30.43, 48.90, 292.17°) |
| OKLab | oklab(40.71% -0.0042 -0.1301) |
| OKLCH | oklch(40.71% 0.13 268.1) |
| XYZ | xyz(7.9431, 6.4143, 26.8008) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.84
Blueberry
#464196
ΔE00 5.03
Darkish Blue
#014182
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.64
Twilight Blue
#0A437A
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C428F #8F792C
analogous
#2C748F #2C428F #482C8F
triadic
#2C428F #8F2C42 #428F2C
tetradic
#2C428F #8F2C74 #8F792C #2C8F48
square
#2C428F #8F2C74 #8F792C #2C8F48
split-complementary
#2C428F #8F482C #748F2C
monochromatic
#0F1731 #1E2C60 #2C428F #3A58BE #667DD0
Accessibility & contrast
On white
9.20
#2C428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C428F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C428F | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c428f; /* rgb */ color: rgb(44, 66, 143); /* oklch */ color: oklch(40.7% 0.130 268.1);
Tailwind
colors: {
custom: {
50: '#7176b0',
500: '#2c428f',
950: '#000000',
},
}SCSS
$custom: #2c428f; $custom-light: #7176b0; $custom-dark: #000000;
JSON
{
"hex": "#2c428f",
"rgb": {
"r": 44,
"g": 66,
"b": 143
},
"hsl": {
"h": 226.667,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.40711,
"c": 0.13017,
"h": 268.1
},
"luminance": 0.06415
}Semantic roles & 50–950 ramp
primary
#2C428F
secondary
#B6A361
accent
#BC4BDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80