#222695#222695

#222695 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.176 H 271.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#222695
RGBrgb(34, 38, 149)
HSLhsl(238, 63%, 36%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(77.2%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.32, 37.83, -60.62)
CIE-LCHlch(23.32, 71.45, 301.96°)
OKLaboklab(35.49% 0.0049 -0.1755)
OKLCHoklch(35.49% 0.176 271.6)
XYZxyz(6.7758, 3.8955, 28.8227)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222695 #959122
analogous
#225F95 #222695 #572295
triadic
#222695 #952226 #269522
tetradic
#222695 #95225F #959122 #229557
square
#222695 #95225F #959122 #229557
split-complementary
#222695 #955722 #5F9522
monochromatic
#0B0D31 #171963 #222695 #2D33C7 #585DD9

Accessibility & contrast

On white

11.80
#222695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#222695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222695
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222695#FFFFFF#000000##FFFFFF
##2226951.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222695;
/* rgb */ color: rgb(34, 38, 149);
/* oklch */ color: oklch(35.5% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#7161b5',
    500: '#222695',
    950: '#000000',
  },
}
SCSS
$custom: #222695;
$custom-light: #7161b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222695",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 237.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3549,
    "c": 0.17555,
    "h": 271.6
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222695

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

Preview Lab → · Contrast checker → · Palette generator →

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