#222163#222163

#222163 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.113 H 277.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#222163
RGBrgb(34, 33, 99)
HSLhsl(241, 50%, 26%)
HSVhsv(241, 67%, 39%)
CMYKcmyk(65.7%, 66.7%, 0%, 61.2%)
CIE-LABlab(17.12, 22.85, -38.96)
CIE-LCHlch(17.12, 45.17, 300.39°)
OKLaboklab(29.49% 0.0149 -0.1122)
OKLCHoklch(29.49% 0.113 277.6)
XYZxyz(3.4549, 2.3284, 12.0693)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222163 #626321
analogous
#214163 #222163 #432163
triadic
#222163 #632221 #216322
tetradic
#222163 #632141 #626321 #216343
square
#222163 #632141 #626321 #216343
split-complementary
#222163 #634321 #416321
monochromatic
#080817 #121235 #222163 #323091 #4240BF

Accessibility & contrast

On white

14.33
#222163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#222163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222163
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222163#FFFFFF#000000##FFFFFF
##2221631.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222163;
/* rgb */ color: rgb(34, 33, 99);
/* oklch */ color: oklch(29.5% 0.113 277.6);
Tailwind
colors: {
  custom: {
    50: '#665c90',
    500: '#222163',
    950: '#000000',
  },
}
SCSS
$custom: #222163;
$custom-light: #665c90;
$custom-dark: #000000;
JSON
{
  "hex": "#222163",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 240.909,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29494,
    "c": 0.11316,
    "h": 277.6
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#222163
secondary
#969749
accent
#DA4ED7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #222163

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

Preview Lab → · Contrast checker → · Palette generator →

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