#22248A#22248A

#22248A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.164 H 272.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#22248A
RGBrgb(34, 36, 138)
HSLhsl(239, 60%, 34%)
HSVhsv(239, 75%, 54%)
CMYKcmyk(75.4%, 73.9%, 0%, 45.9%)
CIE-LABlab(21.71, 35.16, -56.45)
CIE-LCHlch(21.71, 66.50, 301.92°)
OKLaboklab(33.99% 0.0077 -0.1633)
OKLCHoklch(33.99% 0.164 272.7)
XYZxyz(5.8765, 3.4362, 24.3934)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248A #8A8822
analogous
#22588A #22248A #54228A
triadic
#22248A #8A2224 #248A22
tetradic
#22248A #8A2258 #8A8822 #228A54
square
#22248A #8A2258 #8A8822 #228A54
split-complementary
#22248A #8A5422 #588A22
monochromatic
#0A0A28 #161759 #22248A #2E31BB #5255D4

Accessibility & contrast

On white

12.45
#22248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#22248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22248A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248A#FFFFFF#000000##FFFFFF
##22248A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22248a;
/* rgb */ color: rgb(34, 36, 138);
/* oklch */ color: oklch(34.0% 0.164 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f60ad',
    500: '#22248a',
    950: '#000000',
  },
}
SCSS
$custom: #22248a;
$custom-light: #6f60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22248a",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 238.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33989,
    "c": 0.1635,
    "h": 272.7
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#22248A
secondary
#B8B650
accent
#E144E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #22248A

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

Preview Lab → · Contrast checker → · Palette generator →

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