#2D2FE2#2D2FE2
#2D2FE2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.256 H 269.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2FE2 |
|---|---|
| RGB | rgb(45, 47, 226) |
| HSL | hsl(239, 76%, 53%) |
| HSV | hsv(239, 80%, 89%) |
| CMYK | cmyk(80.1%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(34.15, 58.89, -88.31) |
| CIE-LCH | lch(34.15, 106.14, 303.70°) |
| OKLab | oklab(45.78% -0.0003 -0.2557) |
| OKLCH | oklch(45.78% 0.256 269.9) |
| XYZ | xyz(15.8215, 8.0801, 72.6625) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.17
Rich Blue
#021BF9
ΔE00 3.22
Vibrant Blue
#0339F8
ΔE00 3.56
Light Royal Blue
#3A2EFE
ΔE00 3.79
Strong Blue
#0C06F7
ΔE00 4.43
Blurple
#5539CC
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2FE2 #E2E02D
analogous
#2D89E2 #2D2FE2 #852DE2
triadic
#2D2FE2 #E22D2F #2FE22D
tetradic
#2D2FE2 #E22D89 #E2E02D #2DE285
square
#2D2FE2 #E22D89 #E2E02D #2DE285
split-complementary
#2D2FE2 #E2852D #89E22D
monochromatic
#121383 #191BB8 #2D2FE2 #6364E9 #999AF1
Accessibility & contrast
On white
8.03
#2D2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2D2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2FE2
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2FE2 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2d2fe2; /* rgb */ color: rgb(45, 47, 226); /* oklch */ color: oklch(45.8% 0.256 269.9);
Tailwind
colors: {
custom: {
50: '#876ced',
500: '#2d2fe2',
950: '#000000',
},
}SCSS
$custom: #2d2fe2; $custom-light: #876ced; $custom-dark: #000000;
JSON
{
"hex": "#2d2fe2",
"rgb": {
"r": 45,
"g": 47,
"b": 226
},
"hsl": {
"h": 239.337,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.45777,
"c": 0.25573,
"h": 269.9
},
"luminance": 0.08082
}Semantic roles & 50–950 ramp
primary
#2D2FE2
secondary
#DCDC8E
accent
#F035F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85