#2C20AA#2C20AA

#2C20AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.204 H 274.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2C20AA
RGBrgb(44, 32, 170)
HSLhsl(245, 68%, 40%)
HSVhsv(245, 81%, 67%)
CMYKcmyk(74.1%, 81.2%, 0%, 33.3%)
CIE-LABlab(25.17, 48.82, -70.35)
CIE-LCHlch(25.17, 85.63, 304.76°)
OKLaboklab(37.65% 0.0152 -0.2035)
OKLCHoklch(37.65% 0.204 274.3)
XYZxyz(8.8085, 4.4699, 38.4210)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C20AA #9EAA20
analogous
#2059AA #2C20AA #7120AA
triadic
#2C20AA #AA2C20 #20AA2C
tetradic
#2C20AA #AA2059 #9EAA20 #20AA71
square
#2C20AA #AA2059 #9EAA20 #20AA71
split-complementary
#2C20AA #AA7120 #59AA20
monochromatic
#110D43 #1F1676 #2C20AA #3E2FD8 #6E63E2

Accessibility & contrast

On white

11.09
#2C20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C20AA
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C20AA#FFFFFF#000000##FFFFFF
##2C20AA1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c20aa;
/* rgb */ color: rgb(44, 32, 170);
/* oklch */ color: oklch(37.6% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b60c5',
    500: '#2c20aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c20aa;
$custom-light: #7b60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c20aa",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 245.217,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.20403,
    "h": 274.3
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#2C20AA
secondary
#BEC75F
accent
#EB3DDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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