#2F2CCA#2F2CCA
#2F2CCA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.231 H 271.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CCA |
|---|---|
| RGB | rgb(47, 44, 202) |
| HSL | hsl(241, 64%, 48%) |
| HSV | hsv(241, 78%, 79%) |
| CMYK | cmyk(76.7%, 78.2%, 0%, 20.8%) |
| CIE-LAB | lab(31.04, 53.06, -79.60) |
| CIE-LCH | lch(31.04, 95.66, 303.69°) |
| OKLab | oklab(42.85% 0.0074 -0.2304) |
| OKLCH | oklch(42.85% 0.231 271.8) |
| XYZ | xyz(12.7301, 6.6686, 56.4819) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.73
True Blue
#010FCC
ΔE00 4.74
Blurple
#5539CC
ΔE00 4.93
Pure Blue
#0203E2
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CCA #C7CA2C
analogous
#2C78CA #2F2CCA #7E2CCA
triadic
#2F2CCA #CA2F2C #2CCA2F
tetradic
#2F2CCA #CA2C78 #C7CA2C #2CCA7E
square
#2F2CCA #CA2C78 #C7CA2C #2CCA7E
split-complementary
#2F2CCA #CA7E2C #78CA2C
monochromatic
#181665 #232198 #2F2CCA #5B58DB #8C8BE6
Accessibility & contrast
On white
9.00
#2F2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F2CCA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CCA
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CCA | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f2cca; /* rgb */ color: rgb(47, 44, 202); /* oklch */ color: oklch(42.8% 0.231 271.8);
Tailwind
colors: {
custom: {
50: '#8268dc',
500: '#2f2cca',
950: '#000000',
},
}SCSS
$custom: #2f2cca; $custom-light: #8268dc; $custom-dark: #000000;
JSON
{
"hex": "#2f2cca",
"rgb": {
"r": 47,
"g": 44,
"b": 202
},
"hsl": {
"h": 241.139,
"s": 64.228,
"l": 48.235
},
"oklch": {
"l": 0.42849,
"c": 0.23052,
"h": 271.8
},
"luminance": 0.0667
}Semantic roles & 50–950 ramp
primary
#2F2CCA
secondary
#CED082
accent
#E741E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83