#2C208F#2C208F

#2C208F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.171 H 277.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2C208F
RGBrgb(44, 32, 143)
HSLhsl(246, 63%, 34%)
HSVhsv(246, 78%, 56%)
CMYKcmyk(69.2%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.13, 40.24, -58.85)
CIE-LCHlch(22.13, 71.30, 304.36°)
OKLaboklab(34.63% 0.0221 -0.17)
OKLCHoklch(34.63% 0.171 277.4)
XYZxyz(6.5115, 3.5511, 26.3236)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C208F #838F20
analogous
#204C8F #2C208F #63208F
triadic
#2C208F #8F2C20 #208F2C
tetradic
#2C208F #8F204C #838F20 #208F63
square
#2C208F #8F204C #838F20 #208F63
split-complementary
#2C208F #8F6320 #4C8F20
monochromatic
#0D0A2B #1D155D #2C208F #3B2BC1 #6051D8

Accessibility & contrast

On white

12.28
#2C208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C208F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C208F#FFFFFF#000000##FFFFFF
##2C208F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c208f;
/* rgb */ color: rgb(44, 32, 143);
/* oklch */ color: oklch(34.6% 0.171 277.4);
Tailwind
colors: {
  custom: {
    50: '#745eb1',
    500: '#2c208f',
    950: '#000000',
  },
}
SCSS
$custom: #2c208f;
$custom-light: #745eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c208f",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 246.486,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.17148,
    "h": 277.4
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#2C208F
secondary
#B0BB4F
accent
#E641D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2C208F

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

Preview Lab → · Contrast checker → · Palette generator →

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