#22137C#22137C

#22137C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 276.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#22137C
RGBrgb(34, 19, 124)
HSLhsl(249, 73%, 28%)
HSVhsv(249, 85%, 49%)
CMYKcmyk(72.6%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.80, 39.90, -55.72)
CIE-LCHlch(16.80, 68.54, 305.60°)
OKLaboklab(30.06% 0.0192 -0.161)
OKLCHoklch(30.06% 0.162 276.8)
XYZxyz(4.5295, 2.2606, 19.2625)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22137C #6D7C13
analogous
#13397C #22137C #56137C
triadic
#22137C #7C2213 #137C22
tetradic
#22137C #7C1339 #6D7C13 #137C56
square
#22137C #7C1339 #6D7C13 #137C56
split-complementary
#22137C #7C5613 #397C13
monochromatic
#07041B #130B47 #22137C #311BB1 #452BDF

Accessibility & contrast

On white

14.46
#22137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#22137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22137C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22137C#FFFFFF#000000##FFFFFF
##22137C1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22137c;
/* rgb */ color: rgb(34, 19, 124);
/* oklch */ color: oklch(30.1% 0.162 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d55a3',
    500: '#22137c',
    950: '#000000',
  },
}
SCSS
$custom: #22137c;
$custom-light: #6d55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22137c",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 248.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30062,
    "c": 0.16217,
    "h": 276.8
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#22137C
secondary
#A1B239
accent
#F038D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #22137C

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

Preview Lab → · Contrast checker → · Palette generator →

#22137C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva