#222455#222455

#222455 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.087 H 277.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#222455
RGBrgb(34, 36, 85)
HSLhsl(238, 43%, 23%)
HSVhsv(238, 60%, 33%)
CMYKcmyk(60%, 57.6%, 0%, 66.7%)
CIE-LABlab(16.78, 15.46, -30.19)
CIE-LCHlch(16.78, 33.92, 297.12°)
OKLaboklab(28.87% 0.0117 -0.0863)
OKLCHoklch(28.87% 0.087 277.7)
XYZxyz(2.9297, 2.2575, 8.8739)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222455 #555322
analogous
#223D55 #222455 #392255
triadic
#222455 #552224 #245522
tetradic
#222455 #55223D #555322 #225539
square
#222455 #55223D #555322 #225539
split-complementary
#222455 #553922 #3D5522
monochromatic
#090916 #111129 #222455 #333781 #4549AC

Accessibility & contrast

On white

14.47
#222455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#222455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222455
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222455#FFFFFF#000000##FFFFFF
##2224551.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#012754
Tritanopia (blue-blind)
#082F38
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222455;
/* rgb */ color: rgb(34, 36, 85);
/* oklch */ color: oklch(28.9% 0.087 277.7);
Tailwind
colors: {
  custom: {
    50: '#625e85',
    500: '#222455',
    950: '#000000',
  },
}
SCSS
$custom: #222455;
$custom-light: #625e85;
$custom-dark: #000000;
JSON
{
  "hex": "#222455",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 85
  },
  "hsl": {
    "h": 237.647,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28872,
    "c": 0.08712,
    "h": 277.7
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#222455
secondary
#89874A
accent
#CE55D3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #222455

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

Preview Lab → · Contrast checker → · Palette generator →

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