#222691#222691

#222691 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.170 H 271.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#222691
RGBrgb(34, 38, 145)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 77%, 57%)
CMYKcmyk(76.6%, 73.8%, 0%, 43.1%)
CIE-LABlab(22.90, 36.41, -58.85)
CIE-LCHlch(22.90, 69.21, 301.75°)
OKLaboklab(35.06% 0.0055 -0.1703)
OKLCHoklch(35.06% 0.17 271.9)
XYZxyz(6.4619, 3.7700, 27.1697)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222691 #918D22
analogous
#225D91 #222691 #562291
triadic
#222691 #912226 #269122
tetradic
#222691 #91225D #918D22 #229156
square
#222691 #91225D #918D22 #229156
split-complementary
#222691 #915622 #5D9122
monochromatic
#0B0C2E #16195F #222691 #2E33C3 #565BD7

Accessibility & contrast

On white

11.97
#222691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#222691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222691
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222691#FFFFFF#000000##FFFFFF
##2226911.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222691;
/* rgb */ color: rgb(34, 38, 145);
/* oklch */ color: oklch(35.1% 0.170 271.9);
Tailwind
colors: {
  custom: {
    50: '#7061b2',
    500: '#222691',
    950: '#000000',
  },
}
SCSS
$custom: #222691;
$custom-light: #7061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222691",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 237.838,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35057,
    "c": 0.17042,
    "h": 271.9
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#222691
secondary
#BBB853
accent
#DF43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222691

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

Preview Lab → · Contrast checker → · Palette generator →

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