#222DAF#222DAF

#222DAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.201 H 269.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#222DAF
RGBrgb(34, 45, 175)
HSLhsl(235, 67%, 41%)
HSVhsv(235, 81%, 69%)
CMYKcmyk(80.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.60, 42.73, -69.34)
CIE-LCHlch(27.60, 81.45, 301.64°)
OKLaboklab(39.37% -0.0019 -0.2009)
OKLCHoklch(39.37% 0.201 269.4)
XYZxyz(9.3333, 5.3109, 41.0823)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DAF #AFA422
analogous
#2273AF #222DAF #5D22AF
triadic
#222DAF #AF222D #2DAF22
tetradic
#222DAF #AF2273 #AFA422 #22AF5D
square
#222DAF #AF2273 #AFA422 #22AF5D
split-complementary
#222DAF #AF5D22 #73AF22
monochromatic
#0E1349 #18207C #222DAF #3643D8 #6973E2

Accessibility & contrast

On white

10.18
#222DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#222DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DAF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DAF#FFFFFF#000000##FFFFFF
##222DAF1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #222daf;
/* rgb */ color: rgb(34, 45, 175);
/* oklch */ color: oklch(39.4% 0.201 269.4);
Tailwind
colors: {
  custom: {
    50: '#7767c8',
    500: '#222daf',
    950: '#000000',
  },
}
SCSS
$custom: #222daf;
$custom-light: #7767c8;
$custom-dark: #000000;
JSON
{
  "hex": "#222daf",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 235.319,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.2009,
    "h": 269.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#222DAF
secondary
#C8C065
accent
#DD3DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #222DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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