#2D30E2#2D30E2
#2D30E2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.255 H 269.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D30E2 |
|---|---|
| RGB | rgb(45, 48, 226) |
| HSL | hsl(239, 76%, 53%) |
| HSV | hsv(239, 80%, 89%) |
| CMYK | cmyk(80.1%, 78.8%, 0%, 11.4%) |
| CIE-LAB | lab(34.32, 58.40, -88.03) |
| CIE-LCH | lch(34.32, 105.65, 303.56°) |
| OKLab | oklab(45.89% -0.0005 -0.2549) |
| OKLCH | oklch(45.89% 0.255 269.9) |
| XYZ | xyz(15.8619, 8.1609, 72.6760) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.12
Rich Blue
#021BF9
ΔE00 3.36
Vibrant Blue
#0339F8
ΔE00 3.42
Light Royal Blue
#3A2EFE
ΔE00 3.75
Blurple
#5539CC
ΔE00 4.38
Strong Blue
#0C06F7
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D30E2 #E2DF2D
analogous
#2D8AE2 #2D30E2 #852DE2
triadic
#2D30E2 #E22D30 #30E22D
tetradic
#2D30E2 #E22D8A #E2DF2D #2DE285
square
#2D30E2 #E22D8A #E2DF2D #2DE285
split-complementary
#2D30E2 #E2852D #8AE22D
monochromatic
#121483 #191CB8 #2D30E2 #6365E9 #999AF1
Accessibility & contrast
On white
7.98
#2D30E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2D30E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D30E2
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D30E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D30E2 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2d30e2; /* rgb */ color: rgb(45, 48, 226); /* oklch */ color: oklch(45.9% 0.255 269.9);
Tailwind
colors: {
custom: {
50: '#876ced',
500: '#2d30e2',
950: '#000000',
},
}SCSS
$custom: #2d30e2; $custom-light: #876ced; $custom-dark: #000000;
JSON
{
"hex": "#2d30e2",
"rgb": {
"r": 45,
"g": 48,
"b": 226
},
"hsl": {
"h": 239.006,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.45894,
"c": 0.25494,
"h": 269.9
},
"luminance": 0.08163
}Semantic roles & 50–950 ramp
primary
#2D30E2
secondary
#DCDB8E
accent
#EF35F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85