#222A38#222A38

#222A38 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.028 H 261.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#222A38
RGBrgb(34, 42, 56)
HSLhsl(218, 24%, 18%)
HSVhsv(218, 39%, 22%)
CMYKcmyk(39.3%, 25%, 0%, 78%)
CIE-LABlab(16.90, 0.71, -10.12)
CIE-LCHlch(16.90, 10.15, 274.02°)
OKLaboklab(28.38% -0.0042 -0.0279)
OKLCHoklch(28.38% 0.028 261.5)
XYZxyz(2.2012, 2.2814, 4.0650)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A38 #383022
analogous
#223538 #222A38 #252238
triadic
#222A38 #38222A #2A3822
tetradic
#222A38 #382235 #383022 #223825
square
#222A38 #382235 #383022 #223825
split-complementary
#222A38 #382522 #353822
monochromatic
#0C0E13 #0C0E13 #222A38 #39475E #506384

Accessibility & contrast

On white

14.42
#222A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#222A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A38
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A38#FFFFFF#000000##FFFFFF
##222A381.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#232938
Tritanopia (blue-blind)
#1B2D2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222a38;
/* rgb */ color: rgb(34, 42, 56);
/* oklch */ color: oklch(28.4% 0.028 261.5);
Tailwind
colors: {
  custom: {
    50: '#5e636e',
    500: '#222a38',
    950: '#000000',
  },
}
SCSS
$custom: #222a38;
$custom-light: #5e636e;
$custom-dark: #000000;
JSON
{
  "hex": "#222a38",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 218.182,
    "s": 24.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.02826,
    "h": 261.5
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#222A38
secondary
#6A5F4B
accent
#A067C1
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040507
muted
#79797A

Preview Lab

Preview with #222A38

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

Preview Lab → · Contrast checker → · Palette generator →

#222A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva