#2C208E#2C208E

#2C208E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.170 H 277.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2C208E
RGBrgb(44, 32, 142)
HSLhsl(247, 63%, 34%)
HSVhsv(247, 77%, 56%)
CMYKcmyk(69%, 77.5%, 0%, 44.3%)
CIE-LABlab(22.02, 39.92, -58.41)
CIE-LCHlch(22.02, 70.75, 304.35°)
OKLaboklab(34.52% 0.0223 -0.1688)
OKLCHoklch(34.52% 0.17 277.5)
XYZxyz(6.4361, 3.5209, 25.9264)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208E #828E20
analogous
#204B8E #2C208E #63208E
triadic
#2C208E #8E2C20 #208E2C
tetradic
#2C208E #8E204B #828E20 #208E63
square
#2C208E #8E204B #828E20 #208E63
split-complementary
#2C208E #8E6320 #4B8E20
monochromatic
#0D092A #1D155C #2C208E #3B2BC0 #5F51D8

Accessibility & contrast

On white

12.32
#2C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C208E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208E#FFFFFF#000000##FFFFFF
##2C208E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c208e;
/* rgb */ color: rgb(44, 32, 142);
/* oklch */ color: oklch(34.5% 0.170 277.5);
Tailwind
colors: {
  custom: {
    50: '#745eb0',
    500: '#2c208e',
    950: '#000000',
  },
}
SCSS
$custom: #2c208e;
$custom-light: #745eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208e",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 246.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.17023,
    "h": 277.5
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#2C208E
secondary
#AFBB4F
accent
#E642D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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