#22248D#22248D

#22248D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.167 H 272.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#22248D
RGBrgb(34, 36, 141)
HSLhsl(239, 61%, 34%)
HSVhsv(239, 76%, 55%)
CMYKcmyk(75.9%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.03, 36.22, -57.79)
CIE-LCHlch(22.03, 68.20, 302.08°)
OKLaboklab(34.31% 0.0072 -0.1672)
OKLCHoklch(34.31% 0.167 272.5)
XYZxyz(6.0967, 3.5243, 25.5531)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248D #8D8B22
analogous
#22598D #22248D #56228D
triadic
#22248D #8D2224 #248D22
tetradic
#22248D #8D2259 #8D8B22 #228D56
square
#22248D #8D2259 #8D8B22 #228D56
split-complementary
#22248D #8D5622 #598D22
monochromatic
#0A0B2A #16175C #22248D #2E31BE #5456D6

Accessibility & contrast

On white

12.32
#22248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#22248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22248D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248D#FFFFFF#000000##FFFFFF
##22248D1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22248d;
/* rgb */ color: rgb(34, 36, 141);
/* oklch */ color: oklch(34.3% 0.167 272.5);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#22248d',
    950: '#000000',
  },
}
SCSS
$custom: #22248d;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#22248d",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 238.879,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34313,
    "c": 0.16739,
    "h": 272.5
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#22248D
secondary
#B9B851
accent
#E144E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #22248D

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

Preview Lab → · Contrast checker → · Palette generator →

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