#222296#222296

#222296 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.181 H 272.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#222296
RGBrgb(34, 34, 150)
HSLhsl(240, 63%, 36%)
HSVhsv(240, 77%, 59%)
CMYKcmyk(77.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.60, 40.51, -62.42)
CIE-LCHlch(22.60, 74.42, 302.98°)
OKLaboklab(35.01% 0.0065 -0.1807)
OKLCHoklch(35.01% 0.181 272)
XYZxyz(6.7349, 3.6854, 29.2047)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222296 #969622
analogous
#225C96 #222296 #5C2296
triadic
#222296 #962222 #229622
tetradic
#222296 #96225C #969622 #22965C
square
#222296 #96225C #969622 #22965C
split-complementary
#222296 #965C22 #5C9622
monochromatic
#0B0B32 #171764 #222296 #2D2DC8 #5959D9

Accessibility & contrast

On white

12.09
#222296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222296
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222296#FFFFFF#000000##FFFFFF
##2222961.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222296;
/* rgb */ color: rgb(34, 34, 150);
/* oklch */ color: oklch(35.0% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#725fb6',
    500: '#222296',
    950: '#000000',
  },
}
SCSS
$custom: #222296;
$custom-light: #725fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#222296",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.18082,
    "h": 272
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#222296
secondary
#BEBE56
accent
#E642E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222296

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

Preview Lab → · Contrast checker → · Palette generator →

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