#22107E#22107E

#22107E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.167 H 276.8°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#22107E
RGBrgb(34, 16, 126)
HSLhsl(250, 77%, 28%)
HSVhsv(250, 87%, 49%)
CMYKcmyk(73%, 87.3%, 0%, 50.6%)
CIE-LABlab(16.59, 41.88, -57.36)
CIE-LCHlch(16.59, 71.02, 306.14°)
OKLaboklab(29.99% 0.0197 -0.1657)
OKLCHoklch(29.99% 0.167 276.8)
XYZxyz(4.6096, 2.2166, 19.9195)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22107E #6C7E10
analogous
#10357E #22107E #59107E
triadic
#22107E #7E2210 #107E22
tetradic
#22107E #7E1035 #6C7E10 #107E59
square
#22107E #7E1035 #6C7E10 #107E59
split-complementary
#22107E #7E5910 #357E10
monochromatic
#07031B #130948 #22107E #3117B4 #4425E3

Accessibility & contrast

On white

14.55
#22107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22107E
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22107E#FFFFFF#000000##FFFFFF
##22107E1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22107e;
/* rgb */ color: rgb(34, 16, 126);
/* oklch */ color: oklch(30.0% 0.167 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e53a5',
    500: '#22107e',
    950: '#000000',
  },
}
SCSS
$custom: #22107e;
$custom-light: #6e53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#22107e",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 249.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29987,
    "c": 0.16688,
    "h": 276.8
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#22107E
secondary
#A0B436
accent
#F434D5
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #22107E

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

Preview Lab → · Contrast checker → · Palette generator →

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