#2C2FAD#2C2FAD
#2C2FAD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.194 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FAD |
|---|---|
| RGB | rgb(44, 47, 173) |
| HSL | hsl(239, 59%, 43%) |
| HSV | hsv(239, 75%, 68%) |
| CMYK | cmyk(74.6%, 72.8%, 0%, 32.2%) |
| CIE-LAB | lab(28.34, 41.70, -66.91) |
| CIE-LCH | lch(28.34, 78.84, 301.93°) |
| OKLab | oklab(39.98% 0.0081 -0.1936) |
| OKLCH | oklch(39.98% 0.194 272.4) |
| XYZ | xyz(9.5955, 5.5846, 40.0993) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Indigo Blue
#3A18B1
ΔE00 4.92
True Blue
#010FCC
ΔE00 6.19
Blue Blue
#2242C7
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.27
Blue With A Hint Of Purple
#533CC6
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FAD #ADAA2C
analogous
#2C6FAD #2C2FAD #6A2CAD
triadic
#2C2FAD #AD2C2F #2FAD2C
tetradic
#2C2FAD #AD2C6F #ADAA2C #2CAD6A
square
#2C2FAD #AD2C6F #ADAA2C #2CAD6A
split-complementary
#2C2FAD #AD6A2C #6FAD2C
monochromatic
#13144B #20227C #2C2FAD #4649D0 #7779DC
Accessibility & contrast
On white
9.92
#2C2FAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C2FAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FAD
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FAD | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c2fad; /* rgb */ color: rgb(44, 47, 173); /* oklch */ color: oklch(40.0% 0.194 272.4);
Tailwind
colors: {
custom: {
50: '#7a69c7',
500: '#2c2fad',
950: '#000000',
},
}SCSS
$custom: #2c2fad; $custom-light: #7a69c7; $custom-dark: #000000;
JSON
{
"hex": "#2c2fad",
"rgb": {
"r": 44,
"g": 47,
"b": 173
},
"hsl": {
"h": 238.605,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.39977,
"c": 0.19379,
"h": 272.4
},
"luminance": 0.05586
}Semantic roles & 50–950 ramp
primary
#2C2FAD
secondary
#C4C271
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82