#22299D#22299D

#22299D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.183 H 270.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#22299D
RGBrgb(34, 41, 157)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(78.3%, 73.9%, 0%, 38.4%)
CIE-LABlab(24.83, 38.83, -63.05)
CIE-LCHlch(24.83, 74.05, 301.63°)
OKLaboklab(36.82% 0.0023 -0.1826)
OKLCHoklch(36.82% 0.183 270.7)
XYZxyz(7.5364, 4.3594, 32.3360)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299D #9D9622
analogous
#22679D #22299D #58229D
triadic
#22299D #9D2229 #299D22
tetradic
#22299D #9D2267 #9D9622 #229D58
square
#22299D #9D2267 #9D9622 #229D58
split-complementary
#22299D #9D5822 #679D22
monochromatic
#0C0F38 #171C6B #22299D #2D36CF #5D65DC

Accessibility & contrast

On white

11.22
#22299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22299D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299D#FFFFFF#000000##FFFFFF
##22299D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22299d;
/* rgb */ color: rgb(34, 41, 157);
/* oklch */ color: oklch(36.8% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#7364bb',
    500: '#22299d',
    950: '#000000',
  },
}
SCSS
$custom: #22299d;
$custom-light: #7364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22299d",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 236.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.18257,
    "h": 270.7
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#22299D
secondary
#C1BB5A
accent
#DE40E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #22299D

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

Preview Lab → · Contrast checker → · Palette generator →

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