#222DA6#222DA6

#222DA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.190 H 269.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#222DA6
RGBrgb(34, 45, 166)
HSLhsl(235, 66%, 39%)
HSVhsv(235, 80%, 65%)
CMYKcmyk(79.5%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.65, 39.59, -65.51)
CIE-LCHlch(26.65, 76.54, 301.15°)
OKLaboklab(38.4% -0.0007 -0.1897)
OKLCHoklch(38.4% 0.19 269.8)
XYZxyz(8.4787, 4.9691, 36.5813)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DA6 #A69B22
analogous
#226FA6 #222DA6 #5922A6
triadic
#222DA6 #A6222D #2DA622
tetradic
#222DA6 #A6226F #A69B22 #22A659
square
#222DA6 #A6226F #A69B22 #22A659
split-complementary
#222DA6 #A65922 #6FA622
monochromatic
#0D1140 #181F73 #222DA6 #303ED5 #636EDF

Accessibility & contrast

On white

10.53
#222DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#222DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222DA6
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DA6#FFFFFF#000000##FFFFFF
##222DA61.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222da6;
/* rgb */ color: rgb(34, 45, 166);
/* oklch */ color: oklch(38.4% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#7567c2',
    500: '#222da6',
    950: '#000000',
  },
}
SCSS
$custom: #222da6;
$custom-light: #7567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#222da6",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 235,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.18974,
    "h": 269.8
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#222DA6
secondary
#C4BC5F
accent
#DB3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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