#222E40#222E40

#222E40 is a dark, muted blue. Relative luminance 0.027; OKLCH L 29.9% C 0.037 H 258.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#222E40
RGBrgb(34, 46, 64)
HSLhsl(216, 31%, 19%)
HSVhsv(216, 47%, 25%)
CMYKcmyk(46.9%, 28.1%, 0%, 74.9%)
CIE-LABlab(18.65, 0.58, -12.96)
CIE-LCHlch(18.65, 12.98, 272.56°)
OKLaboklab(29.87% -0.0075 -0.0361)
OKLCHoklch(29.87% 0.037 258.3)
XYZxyz(2.5618, 2.6641, 5.2287)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E40 #403422
analogous
#223D40 #222E40 #252240
triadic
#222E40 #40222E #2E4022
tetradic
#222E40 #40223D #403422 #224025
square
#222E40 #40223D #403422 #224025
split-complementary
#222E40 #402522 #3D4022
monochromatic
#0B0E14 #0D1118 #222E40 #374B68 #4C6790

Accessibility & contrast

On white

13.70
#222E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#222E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E40
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E40#FFFFFF#000000##FFFFFF
##222E401.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#242C40
Tritanopia (blue-blind)
#173234
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #222e40;
/* rgb */ color: rgb(34, 46, 64);
/* oklch */ color: oklch(29.9% 0.037 258.3);
Tailwind
colors: {
  custom: {
    50: '#5e6675',
    500: '#222e40',
    950: '#000000',
  },
}
SCSS
$custom: #222e40;
$custom-light: #5e6675;
$custom-dark: #000000;
JSON
{
  "hex": "#222e40",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 216,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.03682,
    "h": 258.3
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#222E40
secondary
#73634B
accent
#9E61C7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040608
muted
#797A7B

Preview Lab

Preview with #222E40

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

Preview Lab → · Contrast checker → · Palette generator →

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