#2B2FC4#2B2FC4
#2B2FC4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.222 H 270.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FC4 |
|---|---|
| RGB | rgb(43, 47, 196) |
| HSL | hsl(238, 64%, 47%) |
| HSV | hsv(238, 78%, 77%) |
| CMYK | cmyk(78.1%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(30.71, 49.29, -76.63) |
| CIE-LCH | lch(30.71, 91.11, 302.75°) |
| OKLab | oklab(42.37% 0.0032 -0.2219) |
| OKLCH | oklch(42.37% 0.222 270.8) |
| XYZ | xyz(11.9732, 6.5308, 52.8434) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Blue With A Hint Of Purple
#533CC6
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.16
True Blue
#010FCC
ΔE00 5.20
Blurple
#5539CC
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FC4 #C4C02B
analogous
#2B7CC4 #2B2FC4 #732BC4
triadic
#2B2FC4 #C42B2F #2FC42B
tetradic
#2B2FC4 #C42B7C #C4C02B #2BC473
square
#2B2FC4 #C42B7C #C4C02B #2BC473
split-complementary
#2B2FC4 #C4732B #7CC42B
monochromatic
#151760 #202392 #2B2FC4 #5356D9 #8588E4
Accessibility & contrast
On white
9.11
#2B2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B2FC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FC4
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FC4 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b2fc4; /* rgb */ color: rgb(43, 47, 196); /* oklch */ color: oklch(42.4% 0.222 270.8);
Tailwind
colors: {
custom: {
50: '#7f6ad7',
500: '#2b2fc4',
950: '#000000',
},
}SCSS
$custom: #2b2fc4; $custom-light: #7f6ad7; $custom-dark: #000000;
JSON
{
"hex": "#2b2fc4",
"rgb": {
"r": 43,
"g": 47,
"b": 196
},
"hsl": {
"h": 238.431,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.42369,
"c": 0.22193,
"h": 270.8
},
"luminance": 0.06532
}Semantic roles & 50–950 ramp
primary
#2B2FC4
secondary
#CECB7D
accent
#E341E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83