#2C209A#2C209A

#2C209A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.185 H 276.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2C209A
RGBrgb(44, 32, 154)
HSLhsl(246, 66%, 36%)
HSVhsv(246, 79%, 60%)
CMYKcmyk(71.4%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.34, 43.79, -63.64)
CIE-LCHlch(23.34, 77.25, 304.53°)
OKLaboklab(35.84% 0.0193 -0.184)
OKLCHoklch(35.84% 0.185 276)
XYZxyz(7.3860, 3.9009, 30.9293)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C209A #8E9A20
analogous
#20519A #2C209A #69209A
triadic
#2C209A #9A2C20 #209A2C
tetradic
#2C209A #9A2051 #8E9A20 #209A69
square
#2C209A #9A2051 #8E9A20 #209A69
split-complementary
#2C209A #9A6920 #519A20
monochromatic
#0F0B35 #1E1567 #2C209A #3A2BCD #6558DC

Accessibility & contrast

On white

11.80
#2C209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C209A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C209A#FFFFFF#000000##FFFFFF
##2C209A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c209a;
/* rgb */ color: rgb(44, 32, 154);
/* oklch */ color: oklch(35.8% 0.185 276.0);
Tailwind
colors: {
  custom: {
    50: '#775fb9',
    500: '#2c209a',
    950: '#000000',
  },
}
SCSS
$custom: #2c209a;
$custom-light: #775fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c209a",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 245.902,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.18499,
    "h": 276
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#2C209A
secondary
#B6C056
accent
#E93FD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C209A

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

Preview Lab → · Contrast checker → · Palette generator →

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