#22248B#22248B

#22248B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.165 H 272.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#22248B
RGBrgb(34, 36, 139)
HSLhsl(239, 61%, 34%)
HSVhsv(239, 76%, 55%)
CMYKcmyk(75.5%, 74.1%, 0%, 45.5%)
CIE-LABlab(21.82, 35.51, -56.90)
CIE-LCHlch(21.82, 67.07, 301.97°)
OKLaboklab(34.1% 0.0075 -0.1646)
OKLCHoklch(34.1% 0.165 272.6)
XYZxyz(5.9492, 3.4653, 24.7764)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248B #8B8922
analogous
#22598B #22248B #55228B
triadic
#22248B #8B2224 #248B22
tetradic
#22248B #8B2259 #8B8922 #228B55
square
#22248B #8B2259 #8B8922 #228B55
split-complementary
#22248B #8B5522 #598B22
monochromatic
#0A0B29 #16175A #22248B #2E31BC #5355D5

Accessibility & contrast

On white

12.40
#22248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22248B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248B#FFFFFF#000000##FFFFFF
##22248B1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22248b;
/* rgb */ color: rgb(34, 36, 139);
/* oklch */ color: oklch(34.1% 0.165 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f60ae',
    500: '#22248b',
    950: '#000000',
  },
}
SCSS
$custom: #22248b;
$custom-light: #6f60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22248b",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 238.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34097,
    "c": 0.1648,
    "h": 272.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#22248B
secondary
#B8B750
accent
#E144E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #22248B

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

Preview Lab → · Contrast checker → · Palette generator →

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