#2120EF#2120EF
#2120EF is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.4% C 0.282 H 267.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2120EF |
|---|---|
| RGB | rgb(33, 32, 239) |
| HSL | hsl(240, 87%, 53%) |
| HSV | hsv(240, 87%, 94%) |
| CMYK | cmyk(86.2%, 86.6%, 0%, 6.3%) |
| CIE-LAB | lab(33.11, 68.49, -97.47) |
| CIE-LCH | lch(33.11, 119.12, 305.09°) |
| OKLab | oklab(45.36% -0.012 -0.282) |
| OKLCH | oklch(45.36% 0.282 267.6) |
| XYZ | xyz(16.7184, 7.5862, 82.2277) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Rich Blue
#021BF9
ΔE00 1.03
Strong Blue
#0C06F7
ΔE00 2.08
Primary Blue
#0804F9
ΔE00 2.15
Blue
#0000FF
ΔE00 2.35
Vivid Blue
#152EFF
ΔE00 3.26
Pure Blue
#0203E2
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2120EF #EEEF20
analogous
#2086EF #2120EF #8820EF
triadic
#2120EF #EF2120 #20EF21
tetradic
#2120EF #EF2086 #EEEF20 #20EF88
square
#2120EF #EF2086 #EEEF20 #20EF88
split-complementary
#2120EF #EF8820 #86EF20
monochromatic
#0B0A8B #0F0EC4 #2120EF #5A59F3 #9392F7
Accessibility & contrast
On white
8.34
#2120EF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2120EF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2120EF
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2120EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2120EF | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058F4
Deuteranopia (green-blind)
#0042EC
Tritanopia (blue-blind)
#00688E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2120ef; /* rgb */ color: rgb(33, 32, 239); /* oklch */ color: oklch(45.4% 0.282 267.6);
Tailwind
colors: {
custom: {
50: '#8965f6',
500: '#2120ef',
950: '#000000',
},
}SCSS
$custom: #2120ef; $custom-light: #8965f6; $custom-dark: #000000;
JSON
{
"hex": "#2120ef",
"rgb": {
"r": 33,
"g": 32,
"b": 239
},
"hsl": {
"h": 240.29,
"s": 86.611,
"l": 53.137
},
"oklch": {
"l": 0.45363,
"c": 0.28226,
"h": 267.6
},
"luminance": 0.07588
}Semantic roles & 50–950 ramp
primary
#2120EF
secondary
#E2E289
accent
#FD2BFC
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0E0617
muted
#7E7A85