#2C2DA1#2C2DA1
#2C2DA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.181 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2DA1 |
|---|---|
| RGB | rgb(44, 45, 161) |
| HSL | hsl(239, 57%, 40%) |
| HSV | hsv(239, 73%, 63%) |
| CMYK | cmyk(72.7%, 72%, 0%, 36.9%) |
| CIE-LAB | lab(26.69, 38.77, -62.39) |
| CIE-LCH | lch(26.69, 73.45, 301.86°) |
| OKLab | oklab(38.43% 0.0111 -0.1804) |
| OKLCH | oklch(38.43% 0.181 273.5) |
| XYZ | xyz(8.4080, 4.9846, 34.2303) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 5.12
Royal
#0C1793
ΔE00 5.62
Blueberry
#464196
ΔE00 6.61
Cobalt Blue
#030AA7
ΔE00 6.63
True Blue
#010FCC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2DA1 #A1A02C
analogous
#2C68A1 #2C2DA1 #652CA1
triadic
#2C2DA1 #A12C2D #2DA12C
tetradic
#2C2DA1 #A12C68 #A1A02C #2CA165
square
#2C2DA1 #A12C68 #A1A02C #2CA165
split-complementary
#2C2DA1 #A1652C #68A12C
monochromatic
#121241 #1F2071 #2C2DA1 #4041CB #7070D8
Accessibility & contrast
On white
10.52
#2C2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C2DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2DA1
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2DA1 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2da1; /* rgb */ color: rgb(44, 45, 161); /* oklch */ color: oklch(38.4% 0.181 273.5);
Tailwind
colors: {
custom: {
50: '#7767be',
500: '#2c2da1',
950: '#000000',
},
}SCSS
$custom: #2c2da1; $custom-light: #7767be; $custom-dark: #000000;
JSON
{
"hex": "#2c2da1",
"rgb": {
"r": 44,
"g": 45,
"b": 161
},
"hsl": {
"h": 239.487,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.38432,
"c": 0.18077,
"h": 273.5
},
"luminance": 0.04985
}Semantic roles & 50–950 ramp
primary
#2C2DA1
secondary
#BFBE6A
accent
#DF47E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81