#222164#222164

#222164 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.6% C 0.115 H 277.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#222164
RGBrgb(34, 33, 100)
HSLhsl(241, 50%, 26%)
HSVhsv(241, 67%, 39%)
CMYKcmyk(66%, 67%, 0%, 60.8%)
CIE-LABlab(17.21, 23.23, -39.47)
CIE-LCHlch(17.21, 45.80, 300.47°)
OKLaboklab(29.59% 0.0148 -0.1137)
OKLCHoklch(29.59% 0.115 277.4)
XYZxyz(3.5031, 2.3476, 12.3227)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222164 #636421
analogous
#214164 #222164 #432164
triadic
#222164 #642221 #216422
tetradic
#222164 #642141 #636421 #216443
square
#222164 #642141 #636421 #216443
split-complementary
#222164 #644321 #416421
monochromatic
#080817 #121236 #222164 #323092 #4140C0

Accessibility & contrast

On white

14.29
#222164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222164
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222164#FFFFFF#000000##FFFFFF
##2221641.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222164;
/* rgb */ color: rgb(34, 33, 100);
/* oklch */ color: oklch(29.6% 0.115 277.4);
Tailwind
colors: {
  custom: {
    50: '#665c91',
    500: '#222164',
    950: '#000000',
  },
}
SCSS
$custom: #222164;
$custom-light: #665c91;
$custom-dark: #000000;
JSON
{
  "hex": "#222164",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 240.896,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.11463,
    "h": 277.4
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#222164
secondary
#979849
accent
#DA4ED8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222164

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

Preview Lab → · Contrast checker → · Palette generator →

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