#222CA7#222CA7

#222CA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.192 H 269.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#222CA7
RGBrgb(34, 44, 167)
HSLhsl(235, 66%, 39%)
HSVhsv(235, 80%, 65%)
CMYKcmyk(79.6%, 73.7%, 0%, 34.5%)
CIE-LABlab(26.54, 40.54, -66.30)
CIE-LCHlch(26.54, 77.71, 301.45°)
OKLaboklab(38.36% -0.0004 -0.192)
OKLCHoklch(38.36% 0.192 269.9)
XYZxyz(8.5330, 4.9305, 37.0537)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222CA7 #A79D22
analogous
#226FA7 #222CA7 #5B22A7
triadic
#222CA7 #A7222C #2CA722
tetradic
#222CA7 #A7226F #A79D22 #22A75B
square
#222CA7 #A7226F #A79D22 #22A75B
split-complementary
#222CA7 #A75B22 #6FA722
monochromatic
#0D1141 #181F74 #222CA7 #313DD5 #646DDF

Accessibility & contrast

On white

10.57
#222CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#222CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222CA7
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222CA7#FFFFFF#000000##FFFFFF
##222CA71.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ca7;
/* rgb */ color: rgb(34, 44, 167);
/* oklch */ color: oklch(38.4% 0.192 269.9);
Tailwind
colors: {
  custom: {
    50: '#7566c2',
    500: '#222ca7',
    950: '#000000',
  },
}
SCSS
$custom: #222ca7;
$custom-light: #7566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#222ca7",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 235.489,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.19203,
    "h": 269.9
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#222CA7
secondary
#C5BD60
accent
#DC3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#222CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva