#222694#222694

#222694 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.174 H 271.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#222694
RGBrgb(34, 38, 148)
HSLhsl(238, 63%, 36%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(77%, 74.3%, 0%, 42%)
CIE-LABlab(23.22, 37.47, -60.18)
CIE-LCHlch(23.22, 70.89, 301.91°)
OKLaboklab(35.38% 0.0051 -0.1742)
OKLCHoklch(35.38% 0.174 271.7)
XYZxyz(6.6963, 3.8637, 28.4041)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222694 #949022
analogous
#225F94 #222694 #572294
triadic
#222694 #942226 #269422
tetradic
#222694 #94225F #949022 #229457
square
#222694 #94225F #949022 #229457
split-complementary
#222694 #945722 #5F9422
monochromatic
#0B0C30 #171962 #222694 #2D33C6 #585CD9

Accessibility & contrast

On white

11.85
#222694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#222694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222694
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222694#FFFFFF#000000##FFFFFF
##2226941.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222694;
/* rgb */ color: rgb(34, 38, 148);
/* oklch */ color: oklch(35.4% 0.174 271.7);
Tailwind
colors: {
  custom: {
    50: '#7161b5',
    500: '#222694',
    950: '#000000',
  },
}
SCSS
$custom: #222694;
$custom-light: #7161b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222694",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 237.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35381,
    "c": 0.17427,
    "h": 271.7
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#222694
secondary
#BDB955
accent
#E042E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222694

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

Preview Lab → · Contrast checker → · Palette generator →

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