#222ABD#222ABD

#222ABD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.220 H 269.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#222ABD
RGBrgb(34, 42, 189)
HSLhsl(237, 70%, 44%)
HSVhsv(237, 82%, 74%)
CMYKcmyk(82%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.56, 49.12, -76.09)
CIE-LCHlch(28.56, 90.57, 302.85°)
OKLaboklab(40.5% -0.0032 -0.2204)
OKLCHoklch(40.5% 0.22 269.2)
XYZxyz(10.6698, 5.6689, 48.6661)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222ABD #BDB522
analogous
#2277BD #222ABD #6722BD
triadic
#222ABD #BD222A #2ABD22
tetradic
#222ABD #BD2277 #BDB522 #22BD67
square
#222ABD #BD2277 #BDB522 #22BD67
split-complementary
#222ABD #BD6722 #77BD22
monochromatic
#0F1355 #191E89 #222ABD #4048DD #7379E6

Accessibility & contrast

On white

9.84
#222ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#222ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222ABD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222ABD#FFFFFF#000000##FFFFFF
##222ABD1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #222abd;
/* rgb */ color: rgb(34, 42, 189);
/* oklch */ color: oklch(40.5% 0.220 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b66d2',
    500: '#222abd',
    950: '#000000',
  },
}
SCSS
$custom: #222abd;
$custom-light: #7b66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222abd",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 236.903,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.22044,
    "h": 269.2
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#222ABD
secondary
#CDC86E
accent
#E33BEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #222ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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