#2C22AD#2C22AD

#2C22AD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.206 H 273.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C22AD
RGBrgb(44, 34, 173)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 68%)
CMYKcmyk(74.6%, 80.3%, 0%, 32.2%)
CIE-LABlab(25.85, 48.78, -71.03)
CIE-LCHlch(25.85, 86.16, 304.48°)
OKLaboklab(38.22% 0.0137 -0.2055)
OKLCHoklch(38.22% 0.206 273.8)
XYZxyz(9.1511, 4.6957, 39.9511)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22AD #A3AD22
analogous
#225DAD #2C22AD #7222AD
triadic
#2C22AD #AD2C22 #22AD2C
tetradic
#2C22AD #AD225D #A3AD22 #22AD72
square
#2C22AD #AD225D #A3AD22 #22AD72
split-complementary
#2C22AD #AD7222 #5DAD22
monochromatic
#120E47 #1F187A #2C22AD #4135D7 #7168E1

Accessibility & contrast

On white

10.83
#2C22AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C22AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22AD
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22AD#FFFFFF#000000##FFFFFF
##2C22AD1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c22ad;
/* rgb */ color: rgb(44, 34, 173);
/* oklch */ color: oklch(38.2% 0.206 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b61c7',
    500: '#2c22ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c22ad;
$custom-light: #7b61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22ad",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 244.317,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3822,
    "c": 0.20592,
    "h": 273.8
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#2C22AD
secondary
#C0C764
accent
#EA3EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2C22AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva