#222FA9#222FA9

#222FA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.191 H 269.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#222FA9
RGBrgb(34, 47, 169)
HSLhsl(234, 67%, 40%)
HSVhsv(234, 80%, 66%)
CMYKcmyk(79.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(27.40, 39.43, -66.08)
CIE-LCHlch(27.40, 76.95, 300.83°)
OKLaboklab(39.04% -0.0019 -0.1914)
OKLCHoklch(39.04% 0.191 269.4)
XYZxyz(8.8352, 5.2367, 38.0736)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222FA9 #A99C22
analogous
#2273A9 #222FA9 #5822A9
triadic
#222FA9 #A9222F #2FA922
tetradic
#222FA9 #A92273 #A99C22 #22A958
square
#222FA9 #A92273 #A99C22 #22A958
split-complementary
#222FA9 #A95822 #73A922
monochromatic
#0D1343 #182176 #222FA9 #3242D6 #6571E0

Accessibility & contrast

On white

10.26
#222FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#222FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222FA9
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222FA9#FFFFFF#000000##FFFFFF
##222FA91.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #222fa9;
/* rgb */ color: rgb(34, 47, 169);
/* oklch */ color: oklch(39.0% 0.191 269.4);
Tailwind
colors: {
  custom: {
    50: '#7668c4',
    500: '#222fa9',
    950: '#000000',
  },
}
SCSS
$custom: #222fa9;
$custom-light: #7668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#222fa9",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 234.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.19141,
    "h": 269.4
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#222FA9
secondary
#C5BC61
accent
#D93EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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