#222094#222094

#222094 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.180 H 272.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#222094
RGBrgb(34, 32, 148)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(77%, 78.4%, 0%, 42%)
CIE-LABlab(21.98, 40.96, -62.22)
CIE-LCHlch(21.98, 74.49, 303.36°)
OKLaboklab(34.51% 0.0077 -0.1801)
OKLCHoklch(34.51% 0.18 272.4)
XYZxyz(6.5197, 3.5105, 28.3452)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222094 #929420
analogous
#205894 #222094 #5C2094
triadic
#222094 #942220 #209422
tetradic
#222094 #942058 #929420 #20945C
square
#222094 #942058 #929420 #20945C
split-complementary
#222094 #945C20 #589420
monochromatic
#0B0A2F #161562 #222094 #2E2BC6 #5754DA

Accessibility & contrast

On white

12.34
#222094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222094
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222094#FFFFFF#000000##FFFFFF
##2220941.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222094;
/* rgb */ color: rgb(34, 32, 148);
/* oklch */ color: oklch(34.5% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#222094',
    950: '#000000',
  },
}
SCSS
$custom: #222094;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#222094",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 241.034,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.18023,
    "h": 272.4
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#222094
secondary
#BCBE52
accent
#E740E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222094

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

Preview Lab → · Contrast checker → · Palette generator →

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