#22299E#22299E

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

Color values

HEX#22299E
RGBrgb(34, 41, 158)
HSLhsl(237, 65%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(78.5%, 74.1%, 0%, 38%)
CIE-LABlab(24.93, 39.18, -63.48)
CIE-LCHlch(24.93, 74.60, 301.69°)
OKLaboklab(36.93% 0.0021 -0.1838)
OKLCHoklch(36.93% 0.184 270.7)
XYZxyz(7.6221, 4.3937, 32.7875)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299E #9E9722
analogous
#22679E #22299E #59229E
triadic
#22299E #9E2229 #299E22
tetradic
#22299E #9E2267 #9E9722 #229E59
square
#22299E #9E2267 #9E9722 #229E59
split-complementary
#22299E #9E5922 #679E22
monochromatic
#0C0F39 #171C6C #22299E #2D36D0 #5E65DC

Accessibility & contrast

On white

11.18
#22299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#22299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22299E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299E#FFFFFF#000000##FFFFFF
##22299E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22299e;
/* rgb */ color: rgb(34, 41, 158);
/* oklch */ color: oklch(36.9% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#7364bc',
    500: '#22299e',
    950: '#000000',
  },
}
SCSS
$custom: #22299e;
$custom-light: #7364bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22299e",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 236.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.18383,
    "h": 270.7
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22299E

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

Preview Lab → · Contrast checker → · Palette generator →

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