#22299C#22299C

#22299C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.181 H 270.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#22299C
RGBrgb(34, 41, 156)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 61%)
CMYKcmyk(78.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.72, 38.48, -62.61)
CIE-LCHlch(24.72, 73.49, 301.57°)
OKLaboklab(36.71% 0.0024 -0.1813)
OKLCHoklch(36.71% 0.181 270.8)
XYZxyz(7.4513, 4.3254, 31.8882)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299C #9C9522
analogous
#22669C #22299C #58229C
triadic
#22299C #9C2229 #299C22
tetradic
#22299C #9C2266 #9C9522 #229C58
square
#22299C #9C2266 #9C9522 #229C58
split-complementary
#22299C #9C5822 #669C22
monochromatic
#0C0F38 #171C6A #22299C #2D36CE #5D64DC

Accessibility & contrast

On white

11.26
#22299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22299C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299C#FFFFFF#000000##FFFFFF
##22299C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22299c;
/* rgb */ color: rgb(34, 41, 156);
/* oklch */ color: oklch(36.7% 0.181 270.8);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#22299c',
    950: '#000000',
  },
}
SCSS
$custom: #22299c;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22299c",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 236.557,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.18131,
    "h": 270.8
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#22299C
secondary
#C0BA5A
accent
#DE41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #22299C

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

Preview Lab → · Contrast checker → · Palette generator →

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