#2C20A0#2C20A0

#2C20A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.192 H 275.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2C20A0
RGBrgb(44, 32, 160)
HSLhsl(246, 67%, 38%)
HSVhsv(246, 80%, 63%)
CMYKcmyk(72.5%, 80%, 0%, 37.3%)
CIE-LABlab(24.02, 45.70, -66.19)
CIE-LCHlch(24.02, 80.43, 304.62°)
OKLaboklab(36.51% 0.0178 -0.1914)
OKLCHoklch(36.51% 0.192 275.3)
XYZxyz(7.8983, 4.1058, 33.6271)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C20A0 #94A020
analogous
#2054A0 #2C20A0 #6C20A0
triadic
#2C20A0 #A02C20 #20A02C
tetradic
#2C20A0 #A02054 #94A020 #20A06C
square
#2C20A0 #A02054 #94A020 #20A06C
split-complementary
#2C20A0 #A06C20 #54A020
monochromatic
#100C3A #1E166D #2C20A0 #3A2AD3 #685CDE

Accessibility & contrast

On white

11.53
#2C20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C20A0
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C20A0#FFFFFF#000000##FFFFFF
##2C20A01.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c20a0;
/* rgb */ color: rgb(44, 32, 160);
/* oklch */ color: oklch(36.5% 0.192 275.3);
Tailwind
colors: {
  custom: {
    50: '#785fbd',
    500: '#2c20a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c20a0;
$custom-light: #785fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c20a0",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 245.625,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.19221,
    "h": 275.3
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#2C20A0
secondary
#B9C359
accent
#EA3EDA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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