#222068#222068

#222068 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.122 H 277.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#222068
RGBrgb(34, 32, 104)
HSLhsl(242, 53%, 27%)
HSVhsv(242, 69%, 41%)
CMYKcmyk(67.3%, 69.2%, 0%, 59.2%)
CIE-LABlab(17.33, 25.39, -41.91)
CIE-LCHlch(17.33, 49.00, 301.21°)
OKLaboklab(29.79% 0.0154 -0.1208)
OKLCHoklch(29.79% 0.122 277.2)
XYZxyz(3.6741, 2.3723, 13.3583)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222068 #666820
analogous
#204268 #222068 #462068
triadic
#222068 #682220 #206822
tetradic
#222068 #682042 #666820 #206846
square
#222068 #682042 #666820 #206846
split-complementary
#222068 #684620 #426820
monochromatic
#080717 #131239 #222068 #312E97 #423FC4

Accessibility & contrast

On white

14.24
#222068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222068
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222068#FFFFFF#000000##FFFFFF
##2220681.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222068;
/* rgb */ color: rgb(34, 32, 104);
/* oklch */ color: oklch(29.8% 0.122 277.2);
Tailwind
colors: {
  custom: {
    50: '#675c94',
    500: '#222068',
    950: '#000000',
  },
}
SCSS
$custom: #222068;
$custom-light: #675c94;
$custom-dark: #000000;
JSON
{
  "hex": "#222068",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 241.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.1218,
    "h": 277.2
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#222068
secondary
#9A9C48
accent
#DC4BD8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #222068

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

Preview Lab → · Contrast checker → · Palette generator →

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