#222DA8#222DA8

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

Color values

HEX#222DA8
RGBrgb(34, 45, 168)
HSLhsl(235, 66%, 40%)
HSVhsv(235, 80%, 66%)
CMYKcmyk(79.8%, 73.2%, 0%, 34.1%)
CIE-LABlab(26.86, 40.29, -66.37)
CIE-LCHlch(26.86, 77.64, 301.26°)
OKLaboklab(38.62% -0.001 -0.1922)
OKLCHoklch(38.62% 0.192 269.7)
XYZxyz(8.6635, 5.0430, 37.5550)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DA8 #A89D22
analogous
#2270A8 #222DA8 #5A22A8
triadic
#222DA8 #A8222D #2DA822
tetradic
#222DA8 #A82270 #A89D22 #22A85A
square
#222DA8 #A82270 #A89D22 #22A85A
split-complementary
#222DA8 #A85A22 #70A822
monochromatic
#0D1242 #181F75 #222DA8 #323FD5 #656FE0

Accessibility & contrast

On white

10.45
#222DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#222DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DA8
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DA8#FFFFFF#000000##FFFFFF
##222DA81.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222da8;
/* rgb */ color: rgb(34, 45, 168);
/* oklch */ color: oklch(38.6% 0.192 269.7);
Tailwind
colors: {
  custom: {
    50: '#7667c3',
    500: '#222da8',
    950: '#000000',
  },
}
SCSS
$custom: #222da8;
$custom-light: #7667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#222da8",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 235.075,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.19224,
    "h": 269.7
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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