#2C2FAA#2C2FAA
#2C2FAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 272.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FAA |
|---|---|
| RGB | rgb(44, 47, 170) |
| HSL | hsl(239, 59%, 42%) |
| HSV | hsv(239, 74%, 67%) |
| CMYK | cmyk(74.1%, 72.4%, 0%, 33.3%) |
| CIE-LAB | lab(28.03, 40.67, -65.61) |
| CIE-LCH | lch(28.03, 77.20, 301.79°) |
| OKLab | oklab(39.67% 0.0086 -0.1898) |
| OKLCH | oklch(39.67% 0.19 272.6) |
| XYZ | xyz(9.3085, 5.4698, 38.5876) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 6.40
Blue Blue
#2242C7
ΔE00 6.44
True Blue
#010FCC
ΔE00 6.44
Royal
#0C1793
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FAA #AAA72C
analogous
#2C6EAA #2C2FAA #682CAA
triadic
#2C2FAA #AA2C2F #2FAA2C
tetradic
#2C2FAA #AA2C6E #AAA72C #2CAA68
square
#2C2FAA #AA2C6E #AAA72C #2CAA68
split-complementary
#2C2FAA #AA682C #6EAA2C
monochromatic
#131449 #1F2279 #2C2FAA #4448CF #7578DB
Accessibility & contrast
On white
10.03
#2C2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2C2FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FAA
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FAA | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c2faa; /* rgb */ color: rgb(44, 47, 170); /* oklch */ color: oklch(39.7% 0.190 272.6);
Tailwind
colors: {
custom: {
50: '#7969c4',
500: '#2c2faa',
950: '#000000',
},
}SCSS
$custom: #2c2faa; $custom-light: #7969c4; $custom-dark: #000000;
JSON
{
"hex": "#2c2faa",
"rgb": {
"r": 44,
"g": 47,
"b": 170
},
"hsl": {
"h": 238.571,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39667,
"c": 0.19003,
"h": 272.6
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#2C2FAA
secondary
#C3C16F
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82