#2B2FE2#2B2FE2
#2B2FE2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.7% C 0.256 H 269.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FE2 |
|---|---|
| RGB | rgb(43, 47, 226) |
| HSL | hsl(239, 76%, 53%) |
| HSV | hsv(239, 81%, 89%) |
| CMYK | cmyk(81%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(34.06, 58.78, -88.47) |
| CIE-LCH | lch(34.06, 106.22, 303.60°) |
| OKLab | oklab(45.69% -0.0023 -0.2562) |
| OKLCH | oklch(45.69% 0.256 269.5) |
| XYZ | xyz(15.7356, 8.0357, 72.6585) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.19
Rich Blue
#021BF9
ΔE00 3.21
Vibrant Blue
#0339F8
ΔE00 3.56
Light Royal Blue
#3A2EFE
ΔE00 3.86
Strong Blue
#0C06F7
ΔE00 4.43
Primary Blue
#0804F9
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FE2 #E2DE2B
analogous
#2B8AE2 #2B2FE2 #832BE2
triadic
#2B2FE2 #E22B2F #2FE22B
tetradic
#2B2FE2 #E22B8A #E2DE2B #2BE283
square
#2B2FE2 #E22B8A #E2DE2B #2BE283
split-complementary
#2B2FE2 #E2832B #8AE22B
monochromatic
#121481 #191CB7 #2B2FE2 #6164E9 #9799F1
Accessibility & contrast
On white
8.05
#2B2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2B2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FE2
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FE2 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b2fe2; /* rgb */ color: rgb(43, 47, 226); /* oklch */ color: oklch(45.7% 0.256 269.5);
Tailwind
colors: {
custom: {
50: '#876bed',
500: '#2b2fe2',
950: '#000000',
},
}SCSS
$custom: #2b2fe2; $custom-light: #876bed; $custom-dark: #000000;
JSON
{
"hex": "#2b2fe2",
"rgb": {
"r": 43,
"g": 47,
"b": 226
},
"hsl": {
"h": 238.689,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.45688,
"c": 0.25622,
"h": 269.5
},
"luminance": 0.08038
}Semantic roles & 50–950 ramp
primary
#2B2FE2
secondary
#DCDA8D
accent
#EE35F3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85