#2C209D#2C209D

#2C209D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.189 H 275.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2C209D
RGBrgb(44, 32, 157)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 80%, 62%)
CMYKcmyk(72%, 79.6%, 0%, 38.4%)
CIE-LABlab(23.68, 44.75, -64.92)
CIE-LCHlch(23.68, 78.85, 304.58°)
OKLaboklab(36.17% 0.0186 -0.1877)
OKLCHoklch(36.17% 0.189 275.6)
XYZxyz(7.6390, 4.0021, 32.2617)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C209D #919D20
analogous
#20539D #2C209D #6B209D
triadic
#2C209D #9D2C20 #209D2C
tetradic
#2C209D #9D2053 #919D20 #209D6B
square
#2C209D #9D2053 #919D20 #209D6B
split-complementary
#2C209D #9D6B20 #539D20
monochromatic
#100B37 #1E166A #2C209D #3A2AD0 #675ADD

Accessibility & contrast

On white

11.66
#2C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C209D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C209D#FFFFFF#000000##FFFFFF
##2C209D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c209d;
/* rgb */ color: rgb(44, 32, 157);
/* oklch */ color: oklch(36.2% 0.189 275.6);
Tailwind
colors: {
  custom: {
    50: '#785fbb',
    500: '#2c209d',
    950: '#000000',
  },
}
SCSS
$custom: #2c209d;
$custom-light: #785fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c209d",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 245.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.18861,
    "h": 275.6
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#2C209D
secondary
#B7C157
accent
#E93FD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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