#222CBD#222CBD

#222CBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.219 H 269.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#222CBD
RGBrgb(34, 44, 189)
HSLhsl(236, 70%, 44%)
HSVhsv(236, 82%, 74%)
CMYKcmyk(82%, 76.7%, 0%, 25.9%)
CIE-LABlab(28.94, 48.04, -75.46)
CIE-LCHlch(28.94, 89.46, 302.48°)
OKLaboklab(40.77% -0.0038 -0.2186)
OKLCHoklch(40.77% 0.219 269)
XYZxyz(10.7425, 5.8143, 48.6903)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222CBD #BDB322
analogous
#2279BD #222CBD #6522BD
triadic
#222CBD #BD222C #2CBD22
tetradic
#222CBD #BD2279 #BDB322 #22BD65
square
#222CBD #BD2279 #BDB322 #22BD65
split-complementary
#222CBD #BD6522 #79BD22
monochromatic
#0F1455 #192089 #222CBD #404ADD #737BE6

Accessibility & contrast

On white

9.71
#222CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#222CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222CBD
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222CBD#FFFFFF#000000##FFFFFF
##222CBD1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #222cbd;
/* rgb */ color: rgb(34, 44, 189);
/* oklch */ color: oklch(40.8% 0.219 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b67d2',
    500: '#222cbd',
    950: '#000000',
  },
}
SCSS
$custom: #222cbd;
$custom-light: #7b67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222cbd",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 236.129,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.21866,
    "h": 269
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#222CBD
secondary
#CDC76E
accent
#E13BEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #222CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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