#222DA7#222DA7

#222DA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.191 H 269.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#222DA7
RGBrgb(34, 45, 167)
HSLhsl(235, 66%, 39%)
HSVhsv(235, 80%, 65%)
CMYKcmyk(79.6%, 73.1%, 0%, 34.5%)
CIE-LABlab(26.75, 39.94, -65.94)
CIE-LCHlch(26.75, 77.09, 301.20°)
OKLaboklab(38.51% -0.0008 -0.191)
OKLCHoklch(38.51% 0.191 269.7)
XYZxyz(8.5707, 5.0059, 37.0662)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DA7 #A79C22
analogous
#226FA7 #222DA7 #5A22A7
triadic
#222DA7 #A7222D #2DA722
tetradic
#222DA7 #A7226F #A79C22 #22A75A
square
#222DA7 #A7226F #A79C22 #22A75A
split-complementary
#222DA7 #A75A22 #6FA722
monochromatic
#0D1241 #181F74 #222DA7 #313FD5 #646EDF

Accessibility & contrast

On white

10.49
#222DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#222DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DA7
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DA7#FFFFFF#000000##FFFFFF
##222DA71.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222da7;
/* rgb */ color: rgb(34, 45, 167);
/* oklch */ color: oklch(38.5% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#7567c2',
    500: '#222da7',
    950: '#000000',
  },
}
SCSS
$custom: #222da7;
$custom-light: #7567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#222da7",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 235.038,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.19099,
    "h": 269.7
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#222DA7
secondary
#C5BC60
accent
#DB3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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