#22247B#22247B

#22247B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.143 H 274.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#22247B
RGBrgb(34, 36, 123)
HSLhsl(239, 57%, 31%)
HSVhsv(239, 72%, 48%)
CMYKcmyk(72.4%, 70.7%, 0%, 51.8%)
CIE-LABlab(20.17, 29.74, -49.53)
CIE-LCHlch(20.17, 57.77, 300.98°)
OKLaboklab(32.41% 0.0099 -0.1431)
OKLCHoklch(32.41% 0.143 274)
XYZxyz(4.8645, 3.0314, 19.0638)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22247B #7B7922
analogous
#22507B #22247B #4C227B
triadic
#22247B #7B2224 #247B22
tetradic
#22247B #7B2250 #7B7922 #227B4C
square
#22247B #7B2250 #7B7922 #227B4C
split-complementary
#22247B #7B4C22 #507B22
monochromatic
#07081B #15164B #22247B #2F32AB #4A4DCD

Accessibility & contrast

On white

13.07
#22247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#22247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22247B
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22247B#FFFFFF#000000##FFFFFF
##22247B1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22247b;
/* rgb */ color: rgb(34, 36, 123);
/* oklch */ color: oklch(32.4% 0.143 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b5fa2',
    500: '#22247b',
    950: '#000000',
  },
}
SCSS
$custom: #22247b;
$custom-light: #6b5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#22247b",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 238.652,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.14346,
    "h": 274
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#22247B
secondary
#AEAC4B
accent
#DD48E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #22247B

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

Preview Lab → · Contrast checker → · Palette generator →

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