#2C20A9#2C20A9

#2C20A9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.203 H 274.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2C20A9
RGBrgb(44, 32, 169)
HSLhsl(245, 68%, 39%)
HSVhsv(245, 81%, 66%)
CMYKcmyk(74%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.05, 48.51, -69.94)
CIE-LCHlch(25.05, 85.12, 304.75°)
OKLaboklab(37.53% 0.0155 -0.2023)
OKLCHoklch(37.53% 0.203 274.4)
XYZxyz(8.7143, 4.4322, 37.9247)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C20A9 #9DA920
analogous
#2059A9 #2C20A9 #7020A9
triadic
#2C20A9 #A92C20 #20A92C
tetradic
#2C20A9 #A92059 #9DA920 #20A970
square
#2C20A9 #A92059 #9DA920 #20A970
split-complementary
#2C20A9 #A97020 #59A920
monochromatic
#110D42 #1F1676 #2C20A9 #3D2FD8 #6D62E1

Accessibility & contrast

On white

11.13
#2C20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C20A9
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C20A9#FFFFFF#000000##FFFFFF
##2C20A91.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c20a9;
/* rgb */ color: rgb(44, 32, 169);
/* oklch */ color: oklch(37.5% 0.203 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a60c4',
    500: '#2c20a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c20a9;
$custom-light: #7a60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c20a9",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 245.255,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37531,
    "c": 0.20286,
    "h": 274.4
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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