#22146C#22146C

#22146C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.141 H 279.6°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#22146C
RGBrgb(34, 20, 108)
HSLhsl(250, 69%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(68.5%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.08, 34.21, -48.23)
CIE-LCHlch(15.08, 59.13, 305.35°)
OKLaboklab(28.31% 0.0236 -0.1393)
OKLCHoklch(28.31% 0.141 279.6)
XYZxyz(3.6158, 1.9228, 14.3650)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22146C #5E6C14
analogous
#14326C #22146C #4E146C
triadic
#22146C #6C2214 #146C22
tetradic
#22146C #6C1432 #5E6C14 #146C4E
square
#22146C #6C1432 #5E6C14 #146C4E
split-complementary
#22146C #6C4E14 #326C14
monochromatic
#08051A #120A38 #22146C #321EA0 #4327D3

Accessibility & contrast

On white

15.17
#22146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22146C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22146C#FFFFFF#000000##FFFFFF
##22146C1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22146c;
/* rgb */ color: rgb(34, 20, 108);
/* oklch */ color: oklch(28.3% 0.141 279.6);
Tailwind
colors: {
  custom: {
    50: '#695497',
    500: '#22146c',
    950: '#000000',
  },
}
SCSS
$custom: #22146c;
$custom-light: #695497;
$custom-dark: #000000;
JSON
{
  "hex": "#22146c",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 249.545,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.14124,
    "h": 279.6
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#22146C
secondary
#92A339
accent
#EC3CD0
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22146C

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

Preview Lab → · Contrast checker → · Palette generator →

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