#22245D#22245D

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

Color values

HEX#22245D
RGBrgb(34, 36, 93)
HSLhsl(238, 46%, 25%)
HSVhsv(238, 63%, 36%)
CMYKcmyk(63.4%, 61.3%, 0%, 63.5%)
CIE-LABlab(17.42, 18.49, -34.51)
CIE-LCHlch(17.42, 39.15, 298.18°)
OKLaboklab(29.55% 0.012 -0.099)
OKLCHoklch(29.55% 0.1 276.9)
XYZxyz(3.2657, 2.3919, 10.6434)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22245D #5D5B22
analogous
#22425D #22245D #3D225D
triadic
#22245D #5D2224 #245D22
tetradic
#22245D #5D2242 #5D5B22 #225D3D
square
#22245D #5D2242 #5D5B22 #225D3D
split-complementary
#22245D #5D3D22 #425D22
monochromatic
#080916 #121330 #22245D #32358A #4347B7

Accessibility & contrast

On white

14.20
#22245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22245D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22245D#FFFFFF#000000##FFFFFF
##22245D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22245d;
/* rgb */ color: rgb(34, 36, 93);
/* oklch */ color: oklch(29.6% 0.100 276.9);
Tailwind
colors: {
  custom: {
    50: '#645e8b',
    500: '#22245d',
    950: '#000000',
  },
}
SCSS
$custom: #22245d;
$custom-light: #645e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#22245d",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 237.966,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.09977,
    "h": 276.9
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#22245D
secondary
#918F4A
accent
#D252D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #22245D

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

Preview Lab → · Contrast checker → · Palette generator →

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