#2C22AC#2C22AC

#2C22AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.205 H 273.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2C22AC
RGBrgb(44, 34, 172)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 67%)
CMYKcmyk(74.4%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.73, 48.47, -70.62)
CIE-LCHlch(25.73, 85.65, 304.46°)
OKLaboklab(38.11% 0.014 -0.2043)
OKLCHoklch(38.11% 0.205 273.9)
XYZxyz(9.0547, 4.6572, 39.4435)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22AC #A2AC22
analogous
#225DAC #2C22AC #7122AC
triadic
#2C22AC #AC2C22 #22AC2C
tetradic
#2C22AC #AC225D #A2AC22 #22AC71
square
#2C22AC #AC225D #A2AC22 #22AC71
split-complementary
#2C22AC #AC7122 #5DAC22
monochromatic
#120E46 #1F1879 #2C22AC #4034D7 #7067E1

Accessibility & contrast

On white

10.87
#2C22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22AC
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22AC#FFFFFF#000000##FFFFFF
##2C22AC1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c22ac;
/* rgb */ color: rgb(44, 34, 172);
/* oklch */ color: oklch(38.1% 0.205 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b61c6',
    500: '#2c22ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c22ac;
$custom-light: #7b61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22ac",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 244.348,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.20474,
    "h": 273.9
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#2C22AC
secondary
#BFC763
accent
#EA3EDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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