#2C208D#2C208D

#2C208D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.169 H 277.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2C208D
RGBrgb(44, 32, 141)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 55%)
CMYKcmyk(68.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.91, 39.59, -57.97)
CIE-LCHlch(21.91, 70.20, 304.33°)
OKLaboklab(34.41% 0.0226 -0.1675)
OKLCHoklch(34.41% 0.169 277.7)
XYZxyz(6.3614, 3.4910, 25.5327)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208D #818D20
analogous
#204B8D #2C208D #63208D
triadic
#2C208D #8D2C20 #208D2C
tetradic
#2C208D #8D204B #818D20 #208D63
square
#2C208D #8D204B #818D20 #208D63
split-complementary
#2C208D #8D6320 #4B8D20
monochromatic
#0D0929 #1C155B #2C208D #3C2BBF #5F50D7

Accessibility & contrast

On white

12.36
#2C208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C208D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208D#FFFFFF#000000##FFFFFF
##2C208D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c208d;
/* rgb */ color: rgb(44, 32, 141);
/* oklch */ color: oklch(34.4% 0.169 277.7);
Tailwind
colors: {
  custom: {
    50: '#745eaf',
    500: '#2c208d',
    950: '#000000',
  },
}
SCSS
$custom: #2c208d;
$custom-light: #745eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208d",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 246.606,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.16897,
    "h": 277.7
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#2C208D
secondary
#AFBA4E
accent
#E642D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #2C208D

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

Preview Lab → · Contrast checker → · Palette generator →

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