#2C408F#2C408F
#2C408F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.133 H 269.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C408F |
|---|---|
| RGB | rgb(44, 64, 143) |
| HSL | hsl(228, 53%, 37%) |
| HSV | hsv(228, 69%, 56%) |
| CMYK | cmyk(69.2%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.87, 19.81, -46.19) |
| CIE-LCH | lch(29.87, 50.26, 293.22°) |
| OKLab | oklab(40.29% -0.0024 -0.1328) |
| OKLCH | oklch(40.29% 0.133 269) |
| XYZ | xyz(7.8283, 6.1847, 26.7625) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.18
Blueberry
#464196
ΔE00 4.71
Cobalt
#0047AB
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C408F #8F7B2C
analogous
#2C728F #2C408F #4A2C8F
triadic
#2C408F #8F2C40 #408F2C
tetradic
#2C408F #8F2C72 #8F7B2C #2C8F4A
square
#2C408F #8F2C72 #8F7B2C #2C8F4A
split-complementary
#2C408F #8F4A2C #728F2C
monochromatic
#0F1631 #1E2B60 #2C408F #3A55BE #667BD0
Accessibility & contrast
On white
9.39
#2C408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2C408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C408F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C408F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c408f; /* rgb */ color: rgb(44, 64, 143); /* oklch */ color: oklch(40.3% 0.133 269.0);
Tailwind
colors: {
custom: {
50: '#7274b0',
500: '#2c408f',
950: '#000000',
},
}SCSS
$custom: #2c408f; $custom-light: #7274b0; $custom-dark: #000000;
JSON
{
"hex": "#2c408f",
"rgb": {
"r": 44,
"g": 64,
"b": 143
},
"hsl": {
"h": 227.879,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.40288,
"c": 0.13282,
"h": 269
},
"luminance": 0.06185
}Semantic roles & 50–950 ramp
primary
#2C408F
secondary
#B6A561
accent
#BF4BDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80