#222DBC#222DBC

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

Color values

HEX#222DBC
RGBrgb(34, 45, 188)
HSLhsl(236, 69%, 44%)
HSVhsv(236, 82%, 74%)
CMYKcmyk(81.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(29.02, 47.16, -74.73)
CIE-LCHlch(29.02, 88.37, 302.25°)
OKLaboklab(40.8% -0.0039 -0.2165)
OKLCHoklch(40.8% 0.217 269)
XYZxyz(10.6721, 5.8464, 48.1332)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DBC #BCB122
analogous
#227ABC #222DBC #6422BC
triadic
#222DBC #BC222D #2DBC22
tetradic
#222DBC #BC227A #BCB122 #22BC64
square
#222DBC #BC227A #BCB122 #22BC64
split-complementary
#222DBC #BC6422 #7ABC22
monochromatic
#0F1454 #192188 #222DBC #3F4ADC #737BE6

Accessibility & contrast

On white

9.68
#222DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#222DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DBC
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DBC#FFFFFF#000000##FFFFFF
##222DBC1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222dbc;
/* rgb */ color: rgb(34, 45, 188);
/* oklch */ color: oklch(40.8% 0.217 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b68d2',
    500: '#222dbc',
    950: '#000000',
  },
}
SCSS
$custom: #222dbc;
$custom-light: #7b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222dbc",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 235.714,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.21656,
    "h": 269
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#222DBC
secondary
#CDC66D
accent
#E03CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #222DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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