#222055#222055

#222055 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.093 H 280.2°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#222055
RGBrgb(34, 32, 85)
HSLhsl(242, 45%, 23%)
HSVhsv(242, 62%, 33%)
CMYKcmyk(60%, 62.4%, 0%, 66.7%)
CIE-LABlab(15.64, 18.34, -32.04)
CIE-LCHlch(15.64, 36.92, 299.78°)
OKLaboklab(28.02% 0.0165 -0.0918)
OKLCHoklch(28.02% 0.093 280.2)
XYZxyz(2.8154, 2.0288, 8.8358)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222055 #535520
analogous
#203855 #222055 #3C2055
triadic
#222055 #552220 #205522
tetradic
#222055 #552038 #535520 #20553C
square
#222055 #552038 #535520 #20553C
split-complementary
#222055 #553C20 #385520
monochromatic
#090816 #100F29 #222055 #343181 #4641AE

Accessibility & contrast

On white

14.94
#222055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#222055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222055
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222055#FFFFFF#000000##FFFFFF
##2220551.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#092C37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222055;
/* rgb */ color: rgb(34, 32, 85);
/* oklch */ color: oklch(28.0% 0.093 280.2);
Tailwind
colors: {
  custom: {
    50: '#635b85',
    500: '#222055',
    950: '#000000',
  },
}
SCSS
$custom: #222055;
$custom-light: #635b85;
$custom-dark: #000000;
JSON
{
  "hex": "#222055",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 85
  },
  "hsl": {
    "h": 242.264,
    "s": 45.299,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.0933,
    "h": 280.2
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#222055
secondary
#878A47
accent
#D553D0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #222055

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

Preview Lab → · Contrast checker → · Palette generator →

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