#222CA9#222CA9

#222CA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.195 H 269.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#222CA9
RGBrgb(34, 44, 169)
HSLhsl(236, 67%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(79.9%, 74%, 0%, 33.7%)
CIE-LABlab(26.75, 41.24, -67.15)
CIE-LCHlch(26.75, 78.80, 301.56°)
OKLaboklab(38.57% -0.0007 -0.1945)
OKLCHoklch(38.57% 0.195 269.8)
XYZxyz(8.7194, 5.0050, 38.0349)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222CA9 #A99F22
analogous
#226FA9 #222CA9 #5C22A9
triadic
#222CA9 #A9222C #2CA922
tetradic
#222CA9 #A9226F #A99F22 #22A95C
square
#222CA9 #A9226F #A99F22 #22A95C
split-complementary
#222CA9 #A95C22 #6FA922
monochromatic
#0D1143 #181F76 #222CA9 #323ED6 #656EE0

Accessibility & contrast

On white

10.49
#222CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#222CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222CA9
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222CA9#FFFFFF#000000##FFFFFF
##222CA91.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ca9;
/* rgb */ color: rgb(34, 44, 169);
/* oklch */ color: oklch(38.6% 0.195 269.8);
Tailwind
colors: {
  custom: {
    50: '#7666c4',
    500: '#222ca9',
    950: '#000000',
  },
}
SCSS
$custom: #222ca9;
$custom-light: #7666c4;
$custom-dark: #000000;
JSON
{
  "hex": "#222ca9",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 235.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.19451,
    "h": 269.8
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#222CA9
secondary
#C5BE61
accent
#DD3EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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