#22146A#22146A

#22146A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.139 H 280.0°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#22146A
RGBrgb(34, 20, 106)
HSLhsl(250, 68%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(67.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.85, 33.55, -47.30)
CIE-LCHlch(14.85, 57.99, 305.34°)
OKLaboklab(28.08% 0.0242 -0.1365)
OKLCHoklch(28.08% 0.139 280)
XYZxyz(3.5105, 1.8807, 13.8109)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22146A #5C6A14
analogous
#14316A #22146A #4D146A
triadic
#22146A #6A2214 #146A22
tetradic
#22146A #6A1431 #5C6A14 #146A4D
square
#22146A #6A1431 #5C6A14 #146A4D
split-complementary
#22146A #6A4D14 #316A14
monochromatic
#08051A #110A37 #22146A #331E9D #4327D1

Accessibility & contrast

On white

15.26
#22146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#22146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22146A
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22146A#FFFFFF#000000##FFFFFF
##22146A1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22146a;
/* rgb */ color: rgb(34, 20, 106);
/* oklch */ color: oklch(28.1% 0.139 280.0);
Tailwind
colors: {
  custom: {
    50: '#685496',
    500: '#22146a',
    950: '#000000',
  },
}
SCSS
$custom: #22146a;
$custom-light: #685496;
$custom-dark: #000000;
JSON
{
  "hex": "#22146a",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 249.767,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28079,
    "c": 0.13866,
    "h": 280
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#22146A
secondary
#90A139
accent
#EB3DCF
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #22146A

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

Preview Lab → · Contrast checker → · Palette generator →

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