#2223AD#2223AD

#2223AD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.208 H 270.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2223AD
RGBrgb(34, 35, 173)
HSLhsl(240, 67%, 41%)
HSVhsv(240, 80%, 68%)
CMYKcmyk(80.3%, 79.8%, 0%, 32.2%)
CIE-LABlab(25.44, 47.60, -71.73)
CIE-LCHlch(25.44, 86.08, 303.57°)
OKLaboklab(37.78% 0.0015 -0.2077)
OKLCHoklch(37.78% 0.208 270.4)
XYZxyz(8.8010, 4.5583, 39.9430)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223AD #ADAC22
analogous
#2269AD #2223AD #6622AD
triadic
#2223AD #AD2223 #23AD22
tetradic
#2223AD #AD2269 #ADAC22 #22AD66
square
#2223AD #AD2269 #ADAC22 #22AD66
split-complementary
#2223AD #AD6622 #69AD22
monochromatic
#0E0E47 #18197A #2223AD #3536D7 #6869E1

Accessibility & contrast

On white

10.98
#2223AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2223AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223AD
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223AD#FFFFFF#000000##FFFFFF
##2223AD1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2223ad;
/* rgb */ color: rgb(34, 35, 173);
/* oklch */ color: oklch(37.8% 0.208 270.4);
Tailwind
colors: {
  custom: {
    50: '#7861c7',
    500: '#2223ad',
    950: '#000000',
  },
}
SCSS
$custom: #2223ad;
$custom-light: #7861c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2223ad",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 239.568,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37776,
    "c": 0.20771,
    "h": 270.4
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#2223AD
secondary
#C7C664
accent
#E93EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2223AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2223AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva