#22248F#22248F

#22248F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.170 H 272.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#22248F
RGBrgb(34, 36, 143)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(76.2%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.25, 36.92, -58.68)
CIE-LCHlch(22.25, 69.33, 302.18°)
OKLaboklab(34.53% 0.0069 -0.1698)
OKLCHoklch(34.53% 0.17 272.3)
XYZxyz(6.2468, 3.5843, 26.3439)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22248F #8F8D22
analogous
#225B8F #22248F #57228F
triadic
#22248F #8F2224 #248F22
tetradic
#22248F #8F225B #8F8D22 #228F57
square
#22248F #8F225B #8F8D22 #228F57
split-complementary
#22248F #8F5722 #5B8F22
monochromatic
#0A0B2C #16185E #22248F #2E30C0 #5557D7

Accessibility & contrast

On white

12.23
#22248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#22248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22248F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22248F#FFFFFF#000000##FFFFFF
##22248F1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22248f;
/* rgb */ color: rgb(34, 36, 143);
/* oklch */ color: oklch(34.5% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#7060b1',
    500: '#22248f',
    950: '#000000',
  },
}
SCSS
$custom: #22248f;
$custom-light: #7060b1;
$custom-dark: #000000;
JSON
{
  "hex": "#22248f",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 238.899,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.16997,
    "h": 272.3
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22248F

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

Preview Lab → · Contrast checker → · Palette generator →

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