#22245F#22245F

#22245F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.103 H 276.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#22245F
RGBrgb(34, 36, 95)
HSLhsl(238, 47%, 25%)
HSVhsv(238, 64%, 37%)
CMYKcmyk(64.2%, 62.1%, 0%, 62.7%)
CIE-LABlab(17.59, 19.25, -35.56)
CIE-LCHlch(17.59, 40.44, 298.42°)
OKLaboklab(29.73% 0.012 -0.1022)
OKLCHoklch(29.73% 0.103 276.7)
XYZxyz(3.3555, 2.4278, 11.1160)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22245F #5F5D22
analogous
#22425F #22245F #3E225F
triadic
#22245F #5F2224 #245F22
tetradic
#22245F #5F2242 #5F5D22 #225F3E
square
#22245F #5F2242 #5F5D22 #225F3E
split-complementary
#22245F #5F3E22 #425F22
monochromatic
#080917 #121332 #22245F #32358C #4246B9

Accessibility & contrast

On white

14.14
#22245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#22245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22245F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22245F#FFFFFF#000000##FFFFFF
##22245F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22245f;
/* rgb */ color: rgb(34, 36, 95);
/* oklch */ color: oklch(29.7% 0.103 276.7);
Tailwind
colors: {
  custom: {
    50: '#645e8d',
    500: '#22245f',
    950: '#000000',
  },
}
SCSS
$custom: #22245f;
$custom-light: #645e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#22245f",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 238.033,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.10286,
    "h": 276.7
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#22245F
secondary
#93914A
accent
#D351D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #22245F

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

Preview Lab → · Contrast checker → · Palette generator →

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