#2C2DA5#2C2DA5
#2C2DA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.186 H 273.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2DA5 |
|---|---|
| RGB | rgb(44, 45, 165) |
| HSL | hsl(240, 58%, 41%) |
| HSV | hsv(240, 73%, 65%) |
| CMYK | cmyk(73.3%, 72.7%, 0%, 35.3%) |
| CIE-LAB | lab(27.10, 40.15, -64.14) |
| CIE-LCH | lch(27.10, 75.67, 302.04°) |
| OKLab | oklab(38.84% 0.0104 -0.1855) |
| OKLCH | oklch(38.84% 0.186 273.2) |
| XYZ | xyz(8.7664, 5.1280, 36.1178) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Indigo Blue
#3A18B1
ΔE00 4.83
Royal
#0C1793
ΔE00 5.82
True Blue
#010FCC
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.57
Blueberry
#464196
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2DA5 #A5A42C
analogous
#2C69A5 #2C2DA5 #672CA5
triadic
#2C2DA5 #A52C2D #2DA52C
tetradic
#2C2DA5 #A52C69 #A5A42C #2CA567
square
#2C2DA5 #A52C69 #A5A42C #2CA567
split-complementary
#2C2DA5 #A5672C #69A52C
monochromatic
#121344 #1F2075 #2C2DA5 #4243CD #7273D9
Accessibility & contrast
On white
10.37
#2C2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C2DA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2DA5
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2DA5 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2da5; /* rgb */ color: rgb(44, 45, 165); /* oklch */ color: oklch(38.8% 0.186 273.2);
Tailwind
colors: {
custom: {
50: '#7867c1',
500: '#2c2da5',
950: '#000000',
},
}SCSS
$custom: #2c2da5; $custom-light: #7867c1; $custom-dark: #000000;
JSON
{
"hex": "#2c2da5",
"rgb": {
"r": 44,
"g": 45,
"b": 165
},
"hsl": {
"h": 239.504,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.38844,
"c": 0.18584,
"h": 273.2
},
"luminance": 0.05129
}Semantic roles & 50–950 ramp
primary
#2C2DA5
secondary
#C1C06C
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81