#22148E#22148E

#22148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.183 H 274.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#22148E
RGBrgb(34, 20, 142)
HSLhsl(247, 75%, 32%)
HSVhsv(247, 86%, 56%)
CMYKcmyk(76.1%, 85.9%, 0%, 44.3%)
CIE-LABlab(19.19, 45.04, -63.11)
CIE-LCHlch(19.19, 77.54, 305.52°)
OKLaboklab(32.36% 0.0134 -0.1825)
OKLCHoklch(32.36% 0.183 274.2)
XYZxyz(5.7907, 2.7928, 25.8198)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22148E #808E14
analogous
#14438E #22148E #5F148E
triadic
#22148E #8E2214 #148E22
tetradic
#22148E #8E1443 #808E14 #148E5F
square
#22148E #8E1443 #808E14 #148E5F
split-complementary
#22148E #8E5F14 #438E14
monochromatic
#080523 #150C58 #22148E #2F1CC4 #4D39E3

Accessibility & contrast

On white

13.47
#22148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#22148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22148E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22148E#FFFFFF#000000##FFFFFF
##22148E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22148e;
/* rgb */ color: rgb(34, 20, 142);
/* oklch */ color: oklch(32.4% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#7157b0',
    500: '#22148e',
    950: '#000000',
  },
}
SCSS
$custom: #22148e;
$custom-light: #7157b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22148e",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 246.885,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32358,
    "c": 0.18296,
    "h": 274.2
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#22148E
secondary
#B2C23C
accent
#F236DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #22148E

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

Preview Lab → · Contrast checker → · Palette generator →

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