#22146E#22146E

#22146E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.144 H 279.2°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#22146E
RGBrgb(34, 20, 110)
HSLhsl(249, 69%, 25%)
HSVhsv(249, 82%, 43%)
CMYKcmyk(69.1%, 81.8%, 0%, 56.9%)
CIE-LABlab(15.31, 34.87, -49.16)
CIE-LCHlch(15.31, 60.27, 305.35°)
OKLaboklab(28.54% 0.023 -0.142)
OKLCHoklch(28.54% 0.144 279.2)
XYZxyz(3.7234, 1.9659, 14.9321)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22146E #606E14
analogous
#14336E #22146E #4F146E
triadic
#22146E #6E2214 #146E22
tetradic
#22146E #6E1433 #606E14 #146E4F
square
#22146E #6E1433 #606E14 #146E4F
split-complementary
#22146E #6E4F14 #336E14
monochromatic
#08051A #120B3A #22146E #321DA2 #4227D6

Accessibility & contrast

On white

15.07
#22146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22146E
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22146E#FFFFFF#000000##FFFFFF
##22146E1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22146e;
/* rgb */ color: rgb(34, 20, 110);
/* oklch */ color: oklch(28.5% 0.144 279.2);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#22146e',
    950: '#000000',
  },
}
SCSS
$custom: #22146e;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#22146e",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 249.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28537,
    "c": 0.14381,
    "h": 279.2
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#22146E
secondary
#94A539
accent
#EC3CD1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22146E

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

Preview Lab → · Contrast checker → · Palette generator →

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