#222064#222064

#222064 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.116 H 277.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#222064
RGBrgb(34, 32, 100)
HSLhsl(242, 52%, 26%)
HSVhsv(242, 68%, 39%)
CMYKcmyk(66%, 68%, 0%, 60.8%)
CIE-LABlab(16.95, 23.91, -39.90)
CIE-LCHlch(16.95, 46.52, 300.94°)
OKLaboklab(29.4% 0.0158 -0.1149)
OKLCHoklch(29.4% 0.116 277.8)
XYZxyz(3.4757, 2.2929, 12.3135)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222064 #626420
analogous
#204064 #222064 #442064
triadic
#222064 #642220 #206422
tetradic
#222064 #642040 #626420 #206444
square
#222064 #642040 #626420 #206444
split-complementary
#222064 #644420 #406420
monochromatic
#080717 #121136 #222064 #322F92 #423EC1

Accessibility & contrast

On white

14.40
#222064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#222064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222064
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222064#FFFFFF#000000##FFFFFF
##2220641.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222064;
/* rgb */ color: rgb(34, 32, 100);
/* oklch */ color: oklch(29.4% 0.116 277.8);
Tailwind
colors: {
  custom: {
    50: '#665b91',
    500: '#222064',
    950: '#000000',
  },
}
SCSS
$custom: #222064;
$custom-light: #665b91;
$custom-dark: #000000;
JSON
{
  "hex": "#222064",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 241.765,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29399,
    "c": 0.116,
    "h": 277.8
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#222064
secondary
#969848
accent
#DB4DD7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222064

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

Preview Lab → · Contrast checker → · Palette generator →

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