#2C208A#2C208A

#2C208A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.165 H 278.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C208A
RGBrgb(44, 32, 138)
HSLhsl(247, 62%, 33%)
HSVhsv(247, 77%, 54%)
CMYKcmyk(68.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(21.59, 38.61, -56.62)
CIE-LCHlch(21.59, 68.53, 304.29°)
OKLaboklab(34.09% 0.0233 -0.1635)
OKLCHoklch(34.09% 0.165 278.1)
XYZxyz(6.1412, 3.4030, 24.3730)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208A #7E8A20
analogous
#20498A #2C208A #61208A
triadic
#2C208A #8A2C20 #208A2C
tetradic
#2C208A #8A2049 #7E8A20 #208A61
square
#2C208A #8A2049 #7E8A20 #208A61
split-complementary
#2C208A #8A6120 #498A20
monochromatic
#0C0927 #1C1458 #2C208A #3C2CBC #5E4ED6

Accessibility & contrast

On white

12.50
#2C208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C208A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208A#FFFFFF#000000##FFFFFF
##2C208A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c208a;
/* rgb */ color: rgb(44, 32, 138);
/* oklch */ color: oklch(34.1% 0.165 278.1);
Tailwind
colors: {
  custom: {
    50: '#735ead',
    500: '#2c208a',
    950: '#000000',
  },
}
SCSS
$custom: #2c208a;
$custom-light: #735ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208a",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 246.792,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34089,
    "c": 0.1652,
    "h": 278.1
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#2C208A
secondary
#ADB94D
accent
#E542D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C208A

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

Preview Lab → · Contrast checker → · Palette generator →

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