#222DA9#222DA9

#222DA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.193 H 269.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#222DA9
RGBrgb(34, 45, 169)
HSLhsl(235, 67%, 40%)
HSVhsv(235, 80%, 66%)
CMYKcmyk(79.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(26.96, 40.64, -66.80)
CIE-LCHlch(26.96, 78.19, 301.32°)
OKLaboklab(38.72% -0.0011 -0.1935)
OKLCHoklch(38.72% 0.193 269.7)
XYZxyz(8.7571, 5.0804, 38.0475)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DA9 #A99E22
analogous
#2271A9 #222DA9 #5B22A9
triadic
#222DA9 #A9222D #2DA922
tetradic
#222DA9 #A92271 #A99E22 #22A95B
square
#222DA9 #A92271 #A99E22 #22A95B
split-complementary
#222DA9 #A95B22 #71A922
monochromatic
#0D1243 #181F76 #222DA9 #3240D6 #656FE0

Accessibility & contrast

On white

10.42
#222DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#222DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DA9
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DA9#FFFFFF#000000##FFFFFF
##222DA91.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #222da9;
/* rgb */ color: rgb(34, 45, 169);
/* oklch */ color: oklch(38.7% 0.193 269.7);
Tailwind
colors: {
  custom: {
    50: '#7667c4',
    500: '#222da9',
    950: '#000000',
  },
}
SCSS
$custom: #222da9;
$custom-light: #7667c4;
$custom-dark: #000000;
JSON
{
  "hex": "#222da9",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 235.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.19349,
    "h": 269.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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