#22245E#22245E

#22245E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.101 H 276.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#22245E
RGBrgb(34, 36, 94)
HSLhsl(238, 47%, 25%)
HSVhsv(238, 64%, 37%)
CMYKcmyk(63.8%, 61.7%, 0%, 63.1%)
CIE-LABlab(17.51, 18.87, -35.04)
CIE-LCHlch(17.51, 39.79, 298.30°)
OKLaboklab(29.64% 0.012 -0.1006)
OKLCHoklch(29.64% 0.101 276.8)
XYZxyz(3.3103, 2.4097, 10.8782)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22245E #5E5C22
analogous
#22425E #22245E #3E225E
triadic
#22245E #5E2224 #245E22
tetradic
#22245E #5E2242 #5E5C22 #225E3E
square
#22245E #5E2242 #5E5C22 #225E3E
split-complementary
#22245E #5E3E22 #425E22
monochromatic
#080916 #121331 #22245E #32358B #4346B8

Accessibility & contrast

On white

14.17
#22245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#22245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22245E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22245E#FFFFFF#000000##FFFFFF
##22245E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22245e;
/* rgb */ color: rgb(34, 36, 94);
/* oklch */ color: oklch(29.6% 0.101 276.8);
Tailwind
colors: {
  custom: {
    50: '#645e8c',
    500: '#22245e',
    950: '#000000',
  },
}
SCSS
$custom: #22245e;
$custom-light: #645e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#22245e",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 238,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29638,
    "c": 0.10131,
    "h": 276.8
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#22245E
secondary
#92904A
accent
#D251D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #22245E

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

Preview Lab → · Contrast checker → · Palette generator →

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