#22148F#22148F

#22148F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.184 H 274.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#22148F
RGBrgb(34, 20, 143)
HSLhsl(247, 75%, 32%)
HSVhsv(247, 86%, 56%)
CMYKcmyk(76.2%, 86%, 0%, 43.9%)
CIE-LABlab(19.32, 45.35, -63.53)
CIE-LCHlch(19.32, 78.05, 305.52°)
OKLaboklab(32.48% 0.0131 -0.1837)
OKLCHoklch(32.48% 0.184 274.1)
XYZxyz(5.8661, 2.8230, 26.2170)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22148F #818F14
analogous
#14448F #22148F #60148F
triadic
#22148F #8F2214 #148F22
tetradic
#22148F #8F1444 #818F14 #148F60
square
#22148F #8F1444 #818F14 #148F60
split-complementary
#22148F #8F6014 #448F14
monochromatic
#080524 #150C59 #22148F #2F1CC5 #4D3AE3

Accessibility & contrast

On white

13.42
#22148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22148F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22148F#FFFFFF#000000##FFFFFF
##22148F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22148f;
/* rgb */ color: rgb(34, 20, 143);
/* oklch */ color: oklch(32.5% 0.184 274.1);
Tailwind
colors: {
  custom: {
    50: '#7257b1',
    500: '#22148f',
    950: '#000000',
  },
}
SCSS
$custom: #22148f;
$custom-light: #7257b1;
$custom-dark: #000000;
JSON
{
  "hex": "#22148f",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 246.829,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.18413,
    "h": 274.1
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#22148F
secondary
#B3C33C
accent
#F236DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #22148F

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

Preview Lab → · Contrast checker → · Palette generator →

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