#2F2CAA#2F2CAA
#2F2CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.192 H 274.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CAA |
|---|---|
| RGB | rgb(47, 44, 170) |
| HSL | hsl(241, 59%, 42%) |
| HSV | hsv(241, 74%, 67%) |
| CMYK | cmyk(72.4%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.59, 42.72, -66.33) |
| CIE-LCH | lch(27.59, 78.90, 302.78°) |
| OKLab | oklab(39.4% 0.0138 -0.1919) |
| OKLCH | oklch(39.4% 0.192 274.1) |
| XYZ | xyz(9.3263, 5.3071, 38.5553) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 4.17
True Blue
#010FCC
ΔE00 5.89
Royal
#0C1793
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CAA #A7AA2C
analogous
#2C68AA #2F2CAA #6E2CAA
triadic
#2F2CAA #AA2F2C #2CAA2F
tetradic
#2F2CAA #AA2C68 #A7AA2C #2CAA6E
square
#2F2CAA #AA2C68 #A7AA2C #2CAA6E
split-complementary
#2F2CAA #AA6E2C #68AA2C
monochromatic
#141349 #221F79 #2F2CAA #4844CF #7875DB
Accessibility & contrast
On white
10.19
#2F2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F2CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CAA
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CAA | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2caa; /* rgb */ color: rgb(47, 44, 170); /* oklch */ color: oklch(39.4% 0.192 274.1);
Tailwind
colors: {
custom: {
50: '#7b67c5',
500: '#2f2caa',
950: '#000000',
},
}SCSS
$custom: #2f2caa; $custom-light: #7b67c5; $custom-dark: #000000;
JSON
{
"hex": "#2f2caa",
"rgb": {
"r": 47,
"g": 44,
"b": 170
},
"hsl": {
"h": 241.429,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39402,
"c": 0.19235,
"h": 274.1
},
"luminance": 0.05308
}Semantic roles & 50–950 ramp
primary
#2F2CAA
secondary
#C1C36F
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82