#22136E#22136E

#22136E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.145 H 279.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#22136E
RGBrgb(34, 19, 110)
HSLhsl(250, 71%, 25%)
HSVhsv(250, 83%, 43%)
CMYKcmyk(69.1%, 82.7%, 0%, 56.9%)
CIE-LABlab(15.12, 35.40, -49.46)
CIE-LCHlch(15.12, 60.83, 305.59°)
OKLaboklab(28.41% 0.0236 -0.1428)
OKLCHoklch(28.41% 0.145 279.4)
XYZxyz(3.7061, 1.9313, 14.9263)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22136E #5F6E13
analogous
#13316E #22136E #4F136E
triadic
#22136E #6E2213 #136E22
tetradic
#22136E #6E1331 #5F6E13 #136E4F
square
#22136E #6E1331 #5F6E13 #136E4F
split-complementary
#22136E #6E4F13 #316E13
monochromatic
#08051A #120A3A #22136E #321CA2 #4225D6

Accessibility & contrast

On white

15.15
#22136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#22136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22136E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22136E#FFFFFF#000000##FFFFFF
##22136E1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22136e;
/* rgb */ color: rgb(34, 19, 110);
/* oklch */ color: oklch(28.4% 0.145 279.4);
Tailwind
colors: {
  custom: {
    50: '#6a5499',
    500: '#22136e',
    950: '#000000',
  },
}
SCSS
$custom: #22136e;
$custom-light: #6a5499;
$custom-dark: #000000;
JSON
{
  "hex": "#22136e",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 249.89,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.14476,
    "h": 279.4
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#22136E
secondary
#93A538
accent
#ED3AD0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22136E

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

Preview Lab → · Contrast checker → · Palette generator →

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