#222AA9#222AA9

#222AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.197 H 270.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#222AA9
RGBrgb(34, 42, 169)
HSLhsl(236, 67%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(79.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.33, 42.41, -67.84)
CIE-LCHlch(26.33, 80.01, 302.01°)
OKLaboklab(38.27% 0 -0.1965)
OKLCHoklch(38.27% 0.197 270)
XYZxyz(8.6466, 4.8596, 38.0107)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222AA9 #A9A122
analogous
#226EA9 #222AA9 #5D22A9
triadic
#222AA9 #A9222A #2AA922
tetradic
#222AA9 #A9226E #A9A122 #22A95D
square
#222AA9 #A9226E #A9A122 #22A95D
split-complementary
#222AA9 #A95D22 #6EA922
monochromatic
#0D1143 #181D76 #222AA9 #323CD6 #656DE0

Accessibility & contrast

On white

10.65
#222AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#222AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222AA9
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222AA9#FFFFFF#000000##FFFFFF
##222AA91.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222aa9;
/* rgb */ color: rgb(34, 42, 169);
/* oklch */ color: oklch(38.3% 0.197 270.0);
Tailwind
colors: {
  custom: {
    50: '#7665c4',
    500: '#222aa9',
    950: '#000000',
  },
}
SCSS
$custom: #222aa9;
$custom-light: #7665c4;
$custom-dark: #000000;
JSON
{
  "hex": "#222aa9",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 236.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.1965,
    "h": 270
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#222AA9
secondary
#C5C061
accent
#DF3EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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