#2C2DA0#2C2DA0
#2C2DA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.179 H 273.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2DA0 |
|---|---|
| RGB | rgb(44, 45, 160) |
| HSL | hsl(239, 57%, 40%) |
| HSV | hsv(239, 73%, 63%) |
| CMYK | cmyk(72.5%, 71.9%, 0%, 37.3%) |
| CIE-LAB | lab(26.59, 38.43, -61.95) |
| CIE-LCH | lch(26.59, 72.90, 301.81°) |
| OKLab | oklab(38.33% 0.0112 -0.1791) |
| OKLCH | oklch(38.33% 0.179 273.6) |
| XYZ | xyz(8.3201, 4.9495, 33.7678) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 5.20
Royal
#0C1793
ΔE00 5.58
Blueberry
#464196
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2DA0 #A09F2C
analogous
#2C67A0 #2C2DA0 #652CA0
triadic
#2C2DA0 #A02C2D #2DA02C
tetradic
#2C2DA0 #A02C67 #A09F2C #2CA065
square
#2C2DA0 #A02C67 #A09F2C #2CA065
split-complementary
#2C2DA0 #A0652C #67A02C
monochromatic
#121240 #1F1F70 #2C2DA0 #3F40CA #6F70D7
Accessibility & contrast
On white
10.55
#2C2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2C2DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2DA0
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2DA0 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2da0; /* rgb */ color: rgb(44, 45, 160); /* oklch */ color: oklch(38.3% 0.179 273.6);
Tailwind
colors: {
custom: {
50: '#7767bd',
500: '#2c2da0',
950: '#000000',
},
}SCSS
$custom: #2c2da0; $custom-light: #7767bd; $custom-dark: #000000;
JSON
{
"hex": "#2c2da0",
"rgb": {
"r": 44,
"g": 45,
"b": 160
},
"hsl": {
"h": 239.483,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.3833,
"c": 0.17949,
"h": 273.6
},
"luminance": 0.0495
}Semantic roles & 50–950 ramp
primary
#2C2DA0
secondary
#BFBE69
accent
#DF48E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81