#22107F#22107F

#22107F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.1% C 0.168 H 276.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#22107F
RGBrgb(34, 16, 127)
HSLhsl(250, 78%, 28%)
HSVhsv(250, 87%, 50%)
CMYKcmyk(73.2%, 87.4%, 0%, 50.2%)
CIE-LABlab(16.71, 42.19, -57.78)
CIE-LCHlch(16.71, 71.55, 306.14°)
OKLaboklab(30.11% 0.0194 -0.1669)
OKLCHoklch(30.11% 0.168 276.6)
XYZxyz(4.6745, 2.2425, 20.2611)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22107F #6D7F10
analogous
#10357F #22107F #59107F
triadic
#22107F #7F2210 #107F22
tetradic
#22107F #7F1035 #6D7F10 #107F59
square
#22107F #7F1035 #6D7F10 #107F59
split-complementary
#22107F #7F5910 #357F10
monochromatic
#07031B #130949 #22107F #3117B5 #4526E4

Accessibility & contrast

On white

14.50
#22107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#22107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22107F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22107F#FFFFFF#000000##FFFFFF
##22107F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22107f;
/* rgb */ color: rgb(34, 16, 127);
/* oklch */ color: oklch(30.1% 0.168 276.6);
Tailwind
colors: {
  custom: {
    50: '#6e54a5',
    500: '#22107f',
    950: '#000000',
  },
}
SCSS
$custom: #22107f;
$custom-light: #6e54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#22107f",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 249.73,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.16807,
    "h": 276.6
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22107F

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

Preview Lab → · Contrast checker → · Palette generator →

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