#2220B3#2220B3

#2220B3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.217 H 270.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2220B3
RGBrgb(34, 32, 179)
HSLhsl(241, 70%, 41%)
HSVhsv(241, 82%, 70%)
CMYKcmyk(81%, 82.1%, 0%, 29.8%)
CIE-LABlab(25.64, 50.99, -74.98)
CIE-LCHlch(25.64, 90.67, 304.21°)
OKLaboklab(38.13% 0.001 -0.2171)
OKLCHoklch(38.13% 0.217 270.3)
XYZxyz(9.3101, 4.6267, 43.0414)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220B3 #B1B320
analogous
#2068B3 #2220B3 #6C20B3
triadic
#2220B3 #B32220 #20B322
tetradic
#2220B3 #B32068 #B1B320 #20B36C
square
#2220B3 #B32068 #B1B320 #20B36C
split-complementary
#2220B3 #B36C20 #68B320
monochromatic
#0E0D4B #18177F #2220B3 #3835DB #6B69E4

Accessibility & contrast

On white

10.91
#2220B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2220B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2220B3
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2220B3#FFFFFF#000000##FFFFFF
##2220B31.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2220b3;
/* rgb */ color: rgb(34, 32, 179);
/* oklch */ color: oklch(38.1% 0.217 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a60cb',
    500: '#2220b3',
    950: '#000000',
  },
}
SCSS
$custom: #2220b3;
$custom-light: #7a60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2220b3",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 240.816,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.21707,
    "h": 270.3
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#2220B3
secondary
#C9CA65
accent
#EC3BEA
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2220B3

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

Preview Lab → · Contrast checker → · Palette generator →

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