#22248E#22248E

#22248E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.169 H 272.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#22248E
RGBrgb(34, 36, 142)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(76.1%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.14, 36.57, -58.24)
CIE-LCHlch(22.14, 68.77, 302.13°)
OKLaboklab(34.42% 0.007 -0.1685)
OKLCHoklch(34.42% 0.169 272.4)
XYZxyz(6.1714, 3.5542, 25.9467)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248E #8E8C22
analogous
#225A8E #22248E #56228E
triadic
#22248E #8E2224 #248E22
tetradic
#22248E #8E225A #8E8C22 #228E56
square
#22248E #8E225A #8E8C22 #228E56
split-complementary
#22248E #8E5622 #5A8E22
monochromatic
#0A0B2B #16175D #22248E #2E31BF #5457D6

Accessibility & contrast

On white

12.27
#22248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#22248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22248E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248E#FFFFFF#000000##FFFFFF
##22248E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22248e;
/* rgb */ color: rgb(34, 36, 142);
/* oklch */ color: oklch(34.4% 0.169 272.4);
Tailwind
colors: {
  custom: {
    50: '#7060b0',
    500: '#22248e',
    950: '#000000',
  },
}
SCSS
$custom: #22248e;
$custom-light: #7060b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22248e",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 238.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.16869,
    "h": 272.4
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#22248E
secondary
#BAB852
accent
#E143E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #22248E

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

Preview Lab → · Contrast checker → · Palette generator →

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