#2220EF#2220EF

#2220EF is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.4% C 0.282 H 267.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2220EF
RGBrgb(34, 32, 239)
HSLhsl(241, 87%, 53%)
HSVhsv(241, 87%, 94%)
CMYKcmyk(85.8%, 86.6%, 0%, 6.3%)
CIE-LABlab(33.14, 68.51, -97.40)
CIE-LCHlch(33.14, 119.09, 305.12°)
OKLaboklab(45.4% -0.0111 -0.2818)
OKLCHoklch(45.4% 0.282 267.7)
XYZxyz(16.7508, 7.6030, 82.2293)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220EF #EDEF20
analogous
#2085EF #2220EF #8A20EF
triadic
#2220EF #EF2220 #20EF22
tetradic
#2220EF #EF2085 #EDEF20 #20EF8A
square
#2220EF #EF2085 #EDEF20 #20EF8A
split-complementary
#2220EF #EF8A20 #85EF20
monochromatic
#0B0A8B #100EC4 #2220EF #5B59F3 #9392F7

Accessibility & contrast

On white

8.33
#2220EF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2220EF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2220EF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2220EF#FFFFFF#000000##FFFFFF
##2220EF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059F4
Deuteranopia (green-blind)
#0042EC
Tritanopia (blue-blind)
#00688E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2220ef;
/* rgb */ color: rgb(34, 32, 239);
/* oklch */ color: oklch(45.4% 0.282 267.7);
Tailwind
colors: {
  custom: {
    50: '#8965f6',
    500: '#2220ef',
    950: '#000000',
  },
}
SCSS
$custom: #2220ef;
$custom-light: #8965f6;
$custom-dark: #000000;
JSON
{
  "hex": "#2220ef",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 239
  },
  "hsl": {
    "h": 240.58,
    "s": 86.611,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.28205,
    "h": 267.7
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#2220EF
secondary
#E1E289
accent
#FD2BFB
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0E0617
muted
#7E7A85

Preview Lab

Preview with #2220EF

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

Preview Lab → · Contrast checker → · Palette generator →

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