#22299F#22299F

#22299F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.185 H 270.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#22299F
RGBrgb(34, 41, 159)
HSLhsl(237, 65%, 38%)
HSVhsv(237, 79%, 62%)
CMYKcmyk(78.6%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.04, 39.53, -63.91)
CIE-LCHlch(25.04, 75.15, 301.74°)
OKLaboklab(37.03% 0.002 -0.1851)
OKLCHoklch(37.03% 0.185 270.6)
XYZxyz(7.7085, 4.4283, 33.2427)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299F #9F9822
analogous
#22679F #22299F #59229F
triadic
#22299F #9F2229 #299F22
tetradic
#22299F #9F2267 #9F9822 #229F59
square
#22299F #9F2267 #9F9822 #229F59
split-complementary
#22299F #9F5922 #679F22
monochromatic
#0C0F3A #171C6D #22299F #2D36D1 #5F66DD

Accessibility & contrast

On white

11.14
#22299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#22299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22299F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299F#FFFFFF#000000##FFFFFF
##22299F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22299f;
/* rgb */ color: rgb(34, 41, 159);
/* oklch */ color: oklch(37.0% 0.185 270.6);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#22299f',
    950: '#000000',
  },
}
SCSS
$custom: #22299f;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22299f",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 236.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.18509,
    "h": 270.6
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#22299F
secondary
#C1BC5B
accent
#DE40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #22299F

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

Preview Lab → · Contrast checker → · Palette generator →

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