#2C28A5#2C28A5
#2C28A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.191 H 273.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C28A5 |
|---|---|
| RGB | rgb(44, 40, 165) |
| HSL | hsl(242, 61%, 40%) |
| HSV | hsv(242, 76%, 65%) |
| CMYK | cmyk(73.3%, 75.8%, 0%, 35.3%) |
| CIE-LAB | lab(26.07, 43.04, -65.84) |
| CIE-LCH | lch(26.07, 78.66, 303.17°) |
| OKLab | oklab(38.11% 0.013 -0.1905) |
| OKLCH | oklch(38.11% 0.191 273.9) |
| XYZ | xyz(8.5868, 4.7688, 36.0580) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.68
Royal
#0C1793
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.72
True Blue
#010FCC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C28A5 #A1A528
analogous
#2862A5 #2C28A5 #6A28A5
triadic
#2C28A5 #A52C28 #28A52C
tetradic
#2C28A5 #A52862 #A1A528 #28A56A
square
#2C28A5 #A52862 #A1A528 #28A56A
split-complementary
#2C28A5 #A56A28 #62A528
monochromatic
#121042 #1F1C74 #2C28A5 #403BCF #706CDB
Accessibility & contrast
On white
10.75
#2C28A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C28A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C28A5
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C28A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C28A5 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c28a5; /* rgb */ color: rgb(44, 40, 165); /* oklch */ color: oklch(38.1% 0.191 273.9);
Tailwind
colors: {
custom: {
50: '#7964c1',
500: '#2c28a5',
950: '#000000',
},
}SCSS
$custom: #2c28a5; $custom-light: #7964c1; $custom-dark: #000000;
JSON
{
"hex": "#2c28a5",
"rgb": {
"r": 44,
"g": 40,
"b": 165
},
"hsl": {
"h": 241.92,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.38111,
"c": 0.19091,
"h": 273.9
},
"luminance": 0.0477
}Semantic roles & 50–950 ramp
primary
#2C28A5
secondary
#BFC267
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81