#2C208C#2C208C

#2C208C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.168 H 277.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2C208C
RGBrgb(44, 32, 140)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 55%)
CMYKcmyk(68.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(21.80, 39.26, -57.52)
CIE-LCHlch(21.80, 69.64, 304.32°)
OKLaboklab(34.3% 0.0228 -0.1662)
OKLCHoklch(34.3% 0.168 277.8)
XYZxyz(6.2873, 3.4614, 25.1426)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208C #808C20
analogous
#204A8C #2C208C #62208C
triadic
#2C208C #8C2C20 #208C2C
tetradic
#2C208C #8C204A #808C20 #208C62
square
#2C208C #8C204A #808C20 #208C62
split-complementary
#2C208C #8C6220 #4A8C20
monochromatic
#0D0928 #1C155A #2C208C #3C2BBE #5F50D7

Accessibility & contrast

On white

12.41
#2C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C208C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208C#FFFFFF#000000##FFFFFF
##2C208C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c208c;
/* rgb */ color: rgb(44, 32, 140);
/* oklch */ color: oklch(34.3% 0.168 277.8);
Tailwind
colors: {
  custom: {
    50: '#745eaf',
    500: '#2c208c',
    950: '#000000',
  },
}
SCSS
$custom: #2c208c;
$custom-light: #745eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208c",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 246.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34304,
    "c": 0.16772,
    "h": 277.8
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#2C208C
secondary
#AEBA4E
accent
#E642D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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