#222634#222634

#222634 is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.1% C 0.027 H 272.1°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#222634
RGBrgb(34, 38, 52)
HSLhsl(227, 21%, 17%)
HSVhsv(227, 35%, 20%)
CMYKcmyk(34.6%, 26.9%, 0%, 79.6%)
CIE-LABlab(15.35, 2.27, -9.69)
CIE-LCHlch(15.35, 9.95, 283.17°)
OKLaboklab(27.11% 0.001 -0.0267)
OKLCHoklch(27.11% 0.027 272.1)
XYZxyz(1.9725, 1.9742, 3.5253)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222634 #343022
analogous
#222F34 #222634 #272234
triadic
#222634 #342226 #263422
tetradic
#222634 #34222F #343022 #223427
square
#222634 #34222F #343022 #223427
split-complementary
#222634 #342722 #2F3422
monochromatic
#0C0E13 #0C0E13 #222634 #3A4159 #525C7E

Accessibility & contrast

On white

15.06
#222634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#222634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222634
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222634#FFFFFF#000000##FFFFFF
##2226341.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222735
Deuteranopia (green-blind)
#202634
Tritanopia (blue-blind)
#1D292B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222634;
/* rgb */ color: rgb(34, 38, 52);
/* oklch */ color: oklch(27.1% 0.027 272.1);
Tailwind
colors: {
  custom: {
    50: '#5d606b',
    500: '#222634',
    950: '#000000',
  },
}
SCSS
$custom: #222634;
$custom-light: #5d606b;
$custom-dark: #000000;
JSON
{
  "hex": "#222634",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 52
  },
  "hsl": {
    "h": 226.667,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27106,
    "c": 0.02674,
    "h": 272.1
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#222634
secondary
#66604C
accent
#AB6ABD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #222634

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

Preview Lab → · Contrast checker → · Palette generator →

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