#22299B#22299B

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

Color values

HEX#22299B
RGBrgb(34, 41, 155)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 61%)
CMYKcmyk(78.1%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.61, 38.13, -62.17)
CIE-LCHlch(24.61, 72.93, 301.52°)
OKLaboklab(36.6% 0.0026 -0.18)
OKLCHoklch(36.6% 0.18 270.8)
XYZxyz(7.3670, 4.2917, 31.4441)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299B #9B9422
analogous
#22669B #22299B #58229B
triadic
#22299B #9B2229 #299B22
tetradic
#22299B #9B2266 #9B9422 #229B58
square
#22299B #9B2266 #9B9422 #229B58
split-complementary
#22299B #9B5822 #669B22
monochromatic
#0C0E37 #171C69 #22299B #2D36CD #5C63DB

Accessibility & contrast

On white

11.30
#22299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#22299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22299B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299B#FFFFFF#000000##FFFFFF
##22299B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22299b;
/* rgb */ color: rgb(34, 41, 155);
/* oklch */ color: oklch(36.6% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#22299b',
    950: '#000000',
  },
}
SCSS
$custom: #22299b;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22299b",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 236.529,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36602,
    "c": 0.18004,
    "h": 270.8
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#22299B
secondary
#C0BA59
accent
#DD41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #22299B

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

Preview Lab → · Contrast checker → · Palette generator →

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