#22146D#22146D

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

Color values

HEX#22146D
RGBrgb(34, 20, 109)
HSLhsl(249, 69%, 25%)
HSVhsv(249, 82%, 43%)
CMYKcmyk(68.8%, 81.7%, 0%, 57.3%)
CIE-LABlab(15.19, 34.54, -48.70)
CIE-LCHlch(15.19, 59.70, 305.35°)
OKLaboklab(28.42% 0.0233 -0.1406)
OKLCHoklch(28.42% 0.143 279.4)
XYZxyz(3.6693, 1.9442, 14.6469)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22146D #5F6D14
analogous
#14336D #22146D #4E146D
triadic
#22146D #6D2214 #146D22
tetradic
#22146D #6D1433 #5F6D14 #146D4E
square
#22146D #6D1433 #5F6D14 #146D4E
split-complementary
#22146D #6D4E14 #336D14
monochromatic
#08051A #120B39 #22146D #321DA1 #4227D4

Accessibility & contrast

On white

15.12
#22146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#22146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22146D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22146D#FFFFFF#000000##FFFFFF
##22146D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22146d;
/* rgb */ color: rgb(34, 20, 109);
/* oklch */ color: oklch(28.4% 0.143 279.4);
Tailwind
colors: {
  custom: {
    50: '#695498',
    500: '#22146d',
    950: '#000000',
  },
}
SCSS
$custom: #22146d;
$custom-light: #695498;
$custom-dark: #000000;
JSON
{
  "hex": "#22146d",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 249.438,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28422,
    "c": 0.14253,
    "h": 279.4
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#22146D
secondary
#93A439
accent
#EC3CD0
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22146D

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

Preview Lab → · Contrast checker → · Palette generator →

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