#222038#222038

#222038 is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.045 H 286.7°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#222038
RGBrgb(34, 32, 56)
HSLhsl(245, 27%, 17%)
HSVhsv(245, 43%, 22%)
CMYKcmyk(39.3%, 42.9%, 0%, 78%)
CIE-LABlab(13.58, 7.94, -15.27)
CIE-LCHlch(13.58, 17.21, 297.49°)
OKLaboklab(25.81% 0.0128 -0.0427)
OKLCHoklch(25.81% 0.045 286.7)
XYZxyz(1.8898, 1.6586, 3.9612)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222038 #363820
analogous
#202A38 #222038 #2E2038
triadic
#222038 #382220 #203822
tetradic
#222038 #38202A #363820 #20382E
square
#222038 #38202A #363820 #20382E
split-complementary
#222038 #382E20 #2A3820
monochromatic
#0C0B13 #0C0B13 #222038 #3A365F #514D86

Accessibility & contrast

On white

15.77
#222038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#222038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222038
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222038#FFFFFF#000000##FFFFFF
##2220381.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192339
Deuteranopia (green-blind)
#182237
Tritanopia (blue-blind)
#1C2429
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #222038;
/* rgb */ color: rgb(34, 32, 56);
/* oklch */ color: oklch(25.8% 0.045 286.7);
Tailwind
colors: {
  custom: {
    50: '#5e5b6e',
    500: '#222038',
    950: '#000000',
  },
}
SCSS
$custom: #222038;
$custom-light: #5e5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#222038",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 245,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25809,
    "c": 0.04456,
    "h": 286.7
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#222038
secondary
#686B49
accent
#C464BC
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #222038

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

Preview Lab → · Contrast checker → · Palette generator →

#222038 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva