#2C408A#2C408A
#2C408A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.126 H 268.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C408A |
|---|---|
| RGB | rgb(44, 64, 138) |
| HSL | hsl(227, 52%, 36%) |
| HSV | hsv(227, 68%, 54%) |
| CMYK | cmyk(68.1%, 53.6%, 0%, 45.9%) |
| CIE-LAB | lab(29.50, 17.92, -43.70) |
| CIE-LCH | lch(29.50, 47.24, 292.29°) |
| OKLab | oklab(39.89% -0.0028 -0.1255) |
| OKLCH | oklch(39.89% 0.126 268.7) |
| XYZ | xyz(7.4580, 6.0365, 24.8120) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Blueberry
#464196
ΔE00 5.08
Darkish Blue
#014182
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.66
Sapphire (survey)
#2138AB
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C408A #8A762C
analogous
#2C6F8A #2C408A #472C8A
triadic
#2C408A #8A2C40 #408A2C
tetradic
#2C408A #8A2C6F #8A762C #2C8A47
square
#2C408A #8A2C6F #8A762C #2C8A47
split-complementary
#2C408A #8A472C #6F8A2C
monochromatic
#0E152D #1D2A5C #2C408A #3B56B8 #637ACD
Accessibility & contrast
On white
9.51
#2C408A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2C408A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C408A
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C408A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C408A | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c408a; /* rgb */ color: rgb(44, 64, 138); /* oklch */ color: oklch(39.9% 0.126 268.7);
Tailwind
colors: {
custom: {
50: '#7074ad',
500: '#2c408a',
950: '#000000',
},
}SCSS
$custom: #2c408a; $custom-light: #7074ad; $custom-dark: #000000;
JSON
{
"hex": "#2c408a",
"rgb": {
"r": 44,
"g": 64,
"b": 138
},
"hsl": {
"h": 227.234,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.39892,
"c": 0.12552,
"h": 268.7
},
"luminance": 0.06037
}Semantic roles & 50–950 ramp
primary
#2C408A
secondary
#B4A15E
accent
#BD4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F