#222030#222030

#222030 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.3% C 0.030 H 289.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#222030
RGBrgb(34, 32, 48)
HSLhsl(248, 20%, 16%)
HSVhsv(248, 33%, 19%)
CMYKcmyk(29.2%, 33.3%, 0%, 81.2%)
CIE-LABlab(13.15, 5.37, -10.23)
CIE-LCHlch(13.15, 11.55, 297.69°)
OKLaboklab(25.33% 0.0102 -0.0282)
OKLCHoklch(25.33% 0.03 289.8)
XYZxyz(1.7096, 1.5865, 3.0119)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222030 #2E3020
analogous
#202630 #222030 #2A2030
triadic
#222030 #302220 #203022
tetradic
#222030 #302026 #2E3020 #20302A
square
#222030 #302026 #2E3020 #20302A
split-complementary
#222030 #302A20 #263020
monochromatic
#0D0C12 #0D0C12 #222030 #3C3855 #565179

Accessibility & contrast

On white

15.94
#222030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#222030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222030
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222030#FFFFFF#000000##FFFFFF
##2220301.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2231
Deuteranopia (green-blind)
#1C2130
Tritanopia (blue-blind)
#1F2326
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #222030;
/* rgb */ color: rgb(34, 32, 48);
/* oklch */ color: oklch(25.3% 0.030 289.8);
Tailwind
colors: {
  custom: {
    50: '#5d5b68',
    500: '#222030',
    950: '#000000',
  },
}
SCSS
$custom: #222030;
$custom-light: #5d5b68;
$custom-dark: #000000;
JSON
{
  "hex": "#222030",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 48
  },
  "hsl": {
    "h": 247.5,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25332,
    "c": 0.02999,
    "h": 289.8
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#222030
secondary
#5F624A
accent
#BD6BB2
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #222030

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

Preview Lab → · Contrast checker → · Palette generator →

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