#2C20AC#2C20AC

#2C20AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.206 H 274.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2C20AC
RGBrgb(44, 32, 172)
HSLhsl(245, 69%, 40%)
HSVhsv(245, 81%, 67%)
CMYKcmyk(74.4%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.40, 49.44, -71.17)
CIE-LCHlch(25.40, 86.66, 304.79°)
OKLaboklab(37.88% 0.0147 -0.2058)
OKLCHoklch(37.88% 0.206 274.1)
XYZxyz(8.9991, 4.5461, 39.4249)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C20AC #A0AC20
analogous
#205AAC #2C20AC #7220AC
triadic
#2C20AC #AC2C20 #20AC2C
tetradic
#2C20AC #AC205A #A0AC20 #20AC72
square
#2C20AC #AC205A #A0AC20 #20AC72
split-complementary
#2C20AC #AC7220 #5AAC20
monochromatic
#120D45 #1F1678 #2C20AC #3F31D9 #6F64E2

Accessibility & contrast

On white

11.00
#2C20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C20AC
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C20AC#FFFFFF#000000##FFFFFF
##2C20AC1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c20ac;
/* rgb */ color: rgb(44, 32, 172);
/* oklch */ color: oklch(37.9% 0.206 274.1);
Tailwind
colors: {
  custom: {
    50: '#7b60c6',
    500: '#2c20ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c20ac;
$custom-light: #7b60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c20ac",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 245.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.20636,
    "h": 274.1
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#2C20AC
secondary
#BFC760
accent
#EB3CDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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