#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
RGBrgb(33, 32, 239)
HSLhsl(240, 87%, 53%)
HSVhsv(240, 87%, 94%)
CMYKcmyk(86.2%, 86.6%, 0%, 6.3%)
CIE-LABlab(33.11, 68.49, -97.47)
CIE-LCHlch(33.11, 119.12, 305.09°)
OKLaboklab(45.36% -0.012 -0.282)
OKLCHoklch(45.36% 0.282 267.6)
XYZxyz(16.7184, 7.5862, 82.2277)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2120EF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.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

Preview Lab

Preview with #2120EF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2120EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva