#222236#222236

#222236 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.2% C 0.037 H 283.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#222236
RGBrgb(34, 34, 54)
HSLhsl(240, 23%, 17%)
HSVhsv(240, 37%, 21%)
CMYKcmyk(37%, 37%, 0%, 78.8%)
CIE-LABlab(14.12, 5.81, -13.01)
CIE-LCHlch(14.12, 14.25, 294.08°)
OKLaboklab(26.18% 0.0087 -0.0362)
OKLCHoklch(26.18% 0.037 283.5)
XYZxyz(1.8974, 1.7504, 3.7272)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222236 #363622
analogous
#222C36 #222236 #2C2236
triadic
#222236 #362222 #223622
tetradic
#222236 #36222C #363622 #22362C
square
#222236 #36222C #363622 #22362C
split-complementary
#222236 #362C22 #2C3622
monochromatic
#0C0C13 #0C0C13 #222236 #3A3A5C #515181

Accessibility & contrast

On white

15.56
#222236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#222236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222236
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222236#FFFFFF#000000##FFFFFF
##2222361.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2537
Deuteranopia (green-blind)
#1B2335
Tritanopia (blue-blind)
#1D2629
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222236;
/* rgb */ color: rgb(34, 34, 54);
/* oklch */ color: oklch(26.2% 0.037 283.5);
Tailwind
colors: {
  custom: {
    50: '#5d5c6d',
    500: '#222236',
    950: '#000000',
  },
}
SCSS
$custom: #222236;
$custom-light: #5d5c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#222236",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 22.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26184,
    "c": 0.03721,
    "h": 283.5
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#222236
secondary
#68684C
accent
#BF69BF
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A

Preview Lab

Preview with #222236

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

Preview Lab → · Contrast checker → · Palette generator →

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