#222DA5#222DA5

#222DA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.188 H 269.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#222DA5
RGBrgb(34, 45, 165)
HSLhsl(235, 66%, 39%)
HSVhsv(235, 79%, 65%)
CMYKcmyk(79.4%, 72.7%, 0%, 35.3%)
CIE-LABlab(26.54, 39.23, -65.08)
CIE-LCHlch(26.54, 75.99, 301.09°)
OKLaboklab(38.3% -0.0006 -0.1885)
OKLCHoklch(38.3% 0.188 269.8)
XYZxyz(8.3873, 4.9325, 36.1000)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222DA5 #A59A22
analogous
#226FA5 #222DA5 #5922A5
triadic
#222DA5 #A5222D #2DA522
tetradic
#222DA5 #A5226F #A59A22 #22A559
square
#222DA5 #A5226F #A59A22 #22A559
split-complementary
#222DA5 #A55922 #6FA522
monochromatic
#0D1140 #181F72 #222DA5 #303ED4 #636DDF

Accessibility & contrast

On white

10.57
#222DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222DA5
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222DA5#FFFFFF#000000##FFFFFF
##222DA51.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222da5;
/* rgb */ color: rgb(34, 45, 165);
/* oklch */ color: oklch(38.3% 0.188 269.8);
Tailwind
colors: {
  custom: {
    50: '#7567c1',
    500: '#222da5',
    950: '#000000',
  },
}
SCSS
$custom: #222da5;
$custom-light: #7567c1;
$custom-dark: #000000;
JSON
{
  "hex": "#222da5",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 234.962,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.18849,
    "h": 269.8
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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