#2F2BCA#2F2BCA
#2F2BCA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.231 H 271.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BCA |
|---|---|
| RGB | rgb(47, 43, 202) |
| HSL | hsl(242, 65%, 48%) |
| HSV | hsv(242, 79%, 79%) |
| CMYK | cmyk(76.7%, 78.7%, 0%, 20.8%) |
| CIE-LAB | lab(30.87, 53.56, -79.88) |
| CIE-LCH | lch(30.87, 96.18, 303.84°) |
| OKLab | oklab(42.73% 0.0077 -0.2312) |
| OKLCH | oklch(42.73% 0.231 271.9) |
| XYZ | xyz(12.6932, 6.5950, 56.4696) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.55
True Blue
#010FCC
ΔE00 4.55
Pure Blue
#0203E2
ΔE00 4.78
Indigo Blue
#3A18B1
ΔE00 4.94
Blurple
#5539CC
ΔE00 5.03
Rich Blue
#021BF9
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BCA #C6CA2B
analogous
#2B77CA #2F2BCA #7E2BCA
triadic
#2F2BCA #CA2F2B #2BCA2F
tetradic
#2F2BCA #CA2B77 #C6CA2B #2BCA7E
square
#2F2BCA #CA2B77 #C6CA2B #2BCA7E
split-complementary
#2F2BCA #CA7E2B #77CA2B
monochromatic
#181665 #232098 #2F2BCA #5A57DB #8C89E6
Accessibility & contrast
On white
9.05
#2F2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F2BCA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BCA
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BCA | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f2bca; /* rgb */ color: rgb(47, 43, 202); /* oklch */ color: oklch(42.7% 0.231 271.9);
Tailwind
colors: {
custom: {
50: '#8268dc',
500: '#2f2bca',
950: '#000000',
},
}SCSS
$custom: #2f2bca; $custom-light: #8268dc; $custom-dark: #000000;
JSON
{
"hex": "#2f2bca",
"rgb": {
"r": 47,
"g": 43,
"b": 202
},
"hsl": {
"h": 241.509,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.42728,
"c": 0.23135,
"h": 271.9
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#2F2BCA
secondary
#CED081
accent
#E840E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83