#2C208B#2C208B

#2C208B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.166 H 278.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2C208B
RGBrgb(44, 32, 139)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 55%)
CMYKcmyk(68.3%, 77%, 0%, 45.5%)
CIE-LABlab(21.70, 38.94, -57.07)
CIE-LCHlch(21.70, 69.09, 304.30°)
OKLaboklab(34.2% 0.023 -0.1649)
OKLCHoklch(34.2% 0.166 278)
XYZxyz(6.2139, 3.4320, 24.7561)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208B #7F8B20
analogous
#20498B #2C208B #61208B
triadic
#2C208B #8B2C20 #208B2C
tetradic
#2C208B #8B2049 #7F8B20 #208B61
square
#2C208B #8B2049 #7F8B20 #208B61
split-complementary
#2C208B #8B6120 #498B20
monochromatic
#0D0928 #1C1559 #2C208B #3C2BBD #5E4FD6

Accessibility & contrast

On white

12.45
#2C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C208B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208B#FFFFFF#000000##FFFFFF
##2C208B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c208b;
/* rgb */ color: rgb(44, 32, 139);
/* oklch */ color: oklch(34.2% 0.166 278.0);
Tailwind
colors: {
  custom: {
    50: '#735eae',
    500: '#2c208b',
    950: '#000000',
  },
}
SCSS
$custom: #2c208b;
$custom-light: #735eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208b",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 246.729,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34197,
    "c": 0.16646,
    "h": 278
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#2C208B
secondary
#ADBA4D
accent
#E642D3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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