#22247D#22247D

#22247D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.146 H 273.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#22247D
RGBrgb(34, 36, 125)
HSLhsl(239, 57%, 31%)
HSVhsv(239, 73%, 49%)
CMYKcmyk(72.8%, 71.2%, 0%, 51%)
CIE-LABlab(20.37, 30.47, -50.47)
CIE-LCHlch(20.37, 58.95, 301.12°)
OKLaboklab(32.62% 0.0097 -0.1459)
OKLCHoklch(32.62% 0.146 273.8)
XYZxyz(4.9910, 3.0820, 19.7299)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22247D #7D7B22
analogous
#22517D #22247D #4D227D
triadic
#22247D #7D2224 #247D22
tetradic
#22247D #7D2251 #7D7B22 #227D4D
square
#22247D #7D2251 #7D7B22 #227D4D
split-complementary
#22247D #7D4D22 #517D22
monochromatic
#08081D #15164D #22247D #2F32AD #4B4ECE

Accessibility & contrast

On white

12.99
#22247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#22247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22247D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22247D#FFFFFF#000000##FFFFFF
##22247D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22247d;
/* rgb */ color: rgb(34, 36, 125);
/* oklch */ color: oklch(32.6% 0.146 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c5fa4',
    500: '#22247d',
    950: '#000000',
  },
}
SCSS
$custom: #22247d;
$custom-light: #6c5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#22247d",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 238.681,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.14619,
    "h": 273.8
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#22247D
secondary
#B0AD4B
accent
#DD47E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #22247D

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

Preview Lab → · Contrast checker → · Palette generator →

#22247D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva