#22197A#22197A

#22197A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.154 H 276.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#22197A
RGBrgb(34, 25, 122)
HSLhsl(246, 66%, 29%)
HSVhsv(246, 80%, 48%)
CMYKcmyk(72.1%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.65, 36.11, -53.05)
CIE-LCHlch(17.65, 64.17, 304.25°)
OKLaboklab(30.58% 0.0169 -0.1533)
OKLCHoklch(30.58% 0.154 276.3)
XYZxyz(4.5190, 2.4401, 18.6414)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22197A #717A19
analogous
#19417A #22197A #53197A
triadic
#22197A #7A2219 #197A22
tetradic
#22197A #7A1941 #717A19 #197A53
square
#22197A #7A1941 #717A19 #197A53
split-complementary
#22197A #7A5319 #417A19
monochromatic
#070519 #140F47 #22197A #3023AD #4637D6

Accessibility & contrast

On white

14.11
#22197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#22197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22197A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22197A#FFFFFF#000000##FFFFFF
##22197A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22197a;
/* rgb */ color: rgb(34, 25, 122);
/* oklch */ color: oklch(30.6% 0.154 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c58a2',
    500: '#22197a',
    950: '#000000',
  },
}
SCSS
$custom: #22197a;
$custom-light: #6c58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22197a",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 245.567,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30582,
    "c": 0.15426,
    "h": 276.3
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#22197A
secondary
#A4AF40
accent
#E93FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #22197A

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

Preview Lab → · Contrast checker → · Palette generator →

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