#222693#222693

#222693 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.173 H 271.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#222693
RGBrgb(34, 38, 147)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(76.9%, 74.1%, 0%, 42.4%)
CIE-LABlab(23.11, 37.12, -59.74)
CIE-LCHlch(23.11, 70.33, 301.86°)
OKLaboklab(35.27% 0.0052 -0.1729)
OKLCHoklch(35.27% 0.173 271.7)
XYZxyz(6.6175, 3.8322, 27.9890)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222693 #938F22
analogous
#225E93 #222693 #562293
triadic
#222693 #932226 #269322
tetradic
#222693 #93225E #938F22 #229356
square
#222693 #93225E #938F22 #229356
split-complementary
#222693 #935622 #5E9322
monochromatic
#0B0C30 #171961 #222693 #2D33C5 #575CD8

Accessibility & contrast

On white

11.89
#222693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222693
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222693#FFFFFF#000000##FFFFFF
##2226931.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222693;
/* rgb */ color: rgb(34, 38, 147);
/* oklch */ color: oklch(35.3% 0.173 271.7);
Tailwind
colors: {
  custom: {
    50: '#7161b4',
    500: '#222693',
    950: '#000000',
  },
}
SCSS
$custom: #222693;
$custom-light: #7161b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222693",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 237.876,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.17299,
    "h": 271.7
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#222693
secondary
#BCB955
accent
#E042E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222693

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

Preview Lab → · Contrast checker → · Palette generator →

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