#222BA9#222BA9

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

Color values

HEX#222BA9
RGBrgb(34, 43, 169)
HSLhsl(236, 67%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(79.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.54, 41.83, -67.50)
CIE-LCHlch(26.54, 79.41, 301.79°)
OKLaboklab(38.42% -0.0003 -0.1955)
OKLCHoklch(38.42% 0.196 269.9)
XYZxyz(8.6825, 4.9314, 38.0227)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BA9 #A9A022
analogous
#226FA9 #222BA9 #5D22A9
triadic
#222BA9 #A9222B #2BA922
tetradic
#222BA9 #A9226F #A9A022 #22A95D
square
#222BA9 #A9226F #A9A022 #22A95D
split-complementary
#222BA9 #A95D22 #6FA922
monochromatic
#0D1143 #181E76 #222BA9 #323DD6 #656EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222BA9#FFFFFF#000000##FFFFFF
##222BA91.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)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ba9;
/* rgb */ color: rgb(34, 43, 169);
/* oklch */ color: oklch(38.4% 0.196 269.9);
Tailwind
colors: {
  custom: {
    50: '#7666c4',
    500: '#222ba9',
    950: '#000000',
  },
}
SCSS
$custom: #222ba9;
$custom-light: #7666c4;
$custom-dark: #000000;
JSON
{
  "hex": "#222ba9",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 236,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38421,
    "c": 0.19551,
    "h": 269.9
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#222BA9
secondary
#C5BF61
accent
#DE3EE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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