#22107D#22107D

#22107D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 277.0°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#22107D
RGBrgb(34, 16, 125)
HSLhsl(250, 77%, 28%)
HSVhsv(250, 87%, 49%)
CMYKcmyk(72.8%, 87.2%, 0%, 51%)
CIE-LABlab(16.46, 41.58, -56.93)
CIE-LCHlch(16.46, 70.50, 306.14°)
OKLaboklab(29.86% 0.02 -0.1645)
OKLCHoklch(29.86% 0.166 277)
XYZxyz(4.5454, 2.1909, 19.5814)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22107D #6B7D10
analogous
#10357D #22107D #58107D
triadic
#22107D #7D2210 #107D22
tetradic
#22107D #7D1035 #6B7D10 #107D58
square
#22107D #7D1035 #6B7D10 #107D58
split-complementary
#22107D #7D5810 #357D10
monochromatic
#07031B #130947 #22107D #3117B3 #4424E3

Accessibility & contrast

On white

14.60
#22107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#22107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22107D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22107D#FFFFFF#000000##FFFFFF
##22107D1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22107d;
/* rgb */ color: rgb(34, 16, 125);
/* oklch */ color: oklch(29.9% 0.166 277.0);
Tailwind
colors: {
  custom: {
    50: '#6d53a4',
    500: '#22107d',
    950: '#000000',
  },
}
SCSS
$custom: #22107d;
$custom-light: #6d53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22107d",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 249.908,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29864,
    "c": 0.16569,
    "h": 277
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#22107D
secondary
#9FB335
accent
#F434D4
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #22107D

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

Preview Lab → · Contrast checker → · Palette generator →

#22107D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva