#22248C#22248C

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

Color values

HEX#22248C
RGBrgb(34, 36, 140)
HSLhsl(239, 61%, 34%)
HSVhsv(239, 76%, 55%)
CMYKcmyk(75.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(21.93, 35.87, -57.35)
CIE-LCHlch(21.93, 67.64, 302.02°)
OKLaboklab(34.21% 0.0074 -0.1659)
OKLCHoklch(34.21% 0.166 272.5)
XYZxyz(6.0226, 3.4947, 25.1630)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248C #8C8A22
analogous
#22598C #22248C #55228C
triadic
#22248C #8C2224 #248C22
tetradic
#22248C #8C2259 #8C8A22 #228C55
square
#22248C #8C2259 #8C8A22 #228C55
split-complementary
#22248C #8C5522 #598C22
monochromatic
#0A0B2A #16175B #22248C #2E31BD #5356D5

Accessibility & contrast

On white

12.36
#22248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22248C
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248C#FFFFFF#000000##FFFFFF
##22248C1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22248c;
/* rgb */ color: rgb(34, 36, 140);
/* oklch */ color: oklch(34.2% 0.166 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f60af',
    500: '#22248c',
    950: '#000000',
  },
}
SCSS
$custom: #22248c;
$custom-light: #6f60af;
$custom-dark: #000000;
JSON
{
  "hex": "#22248c",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 238.868,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.1661,
    "h": 272.5
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#22248C
secondary
#B9B751
accent
#E144E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #22248C

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

Preview Lab → · Contrast checker → · Palette generator →

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