#222154#222154

#222154 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.090 H 279.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#222154
RGBrgb(34, 33, 84)
HSLhsl(241, 44%, 23%)
HSVhsv(241, 61%, 33%)
CMYKcmyk(59.5%, 60.7%, 0%, 67.1%)
CIE-LABlab(15.84, 17.25, -31.04)
CIE-LCHlch(15.84, 35.51, 299.06°)
OKLaboklab(28.14% 0.0153 -0.0889)
OKLCHoklch(28.14% 0.09 279.8)
XYZxyz(2.8033, 2.0677, 8.6372)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222154 #535421
analogous
#213954 #222154 #3B2154
triadic
#222154 #542221 #215422
tetradic
#222154 #542139 #535421 #21543B
square
#222154 #542139 #535421 #21543B
split-complementary
#222154 #543B21 #395421
monochromatic
#090916 #101028 #222154 #343280 #4644AC

Accessibility & contrast

On white

14.86
#222154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222154
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222154#FFFFFF#000000##FFFFFF
##2221541.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012956
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#0A2D36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222154;
/* rgb */ color: rgb(34, 33, 84);
/* oklch */ color: oklch(28.1% 0.090 279.8);
Tailwind
colors: {
  custom: {
    50: '#625c84',
    500: '#222154',
    950: '#000000',
  },
}
SCSS
$custom: #222154;
$custom-light: #625c84;
$custom-dark: #000000;
JSON
{
  "hex": "#222154",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 241.176,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.09019,
    "h": 279.8
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#222154
secondary
#878849
accent
#D354D1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #222154

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

Preview Lab → · Contrast checker → · Palette generator →

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