#2C209C#2C209C

#2C209C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.187 H 275.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2C209C
RGBrgb(44, 32, 156)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 79%, 61%)
CMYKcmyk(71.8%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.57, 44.43, -64.50)
CIE-LCHlch(23.57, 78.32, 304.56°)
OKLaboklab(36.06% 0.0188 -0.1865)
OKLCHoklch(36.06% 0.187 275.8)
XYZxyz(7.5540, 3.9681, 31.8139)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C209C #909C20
analogous
#20529C #2C209C #6A209C
triadic
#2C209C #9C2C20 #209C2C
tetradic
#2C209C #9C2052 #909C20 #209C6A
square
#2C209C #9C2052 #909C20 #209C6A
split-complementary
#2C209C #9C6A20 #529C20
monochromatic
#0F0B36 #1E1669 #2C209C #3A2ACF #6659DD

Accessibility & contrast

On white

11.71
#2C209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C209C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C209C#FFFFFF#000000##FFFFFF
##2C209C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c209c;
/* rgb */ color: rgb(44, 32, 156);
/* oklch */ color: oklch(36.1% 0.187 275.8);
Tailwind
colors: {
  custom: {
    50: '#775fba',
    500: '#2c209c',
    950: '#000000',
  },
}
SCSS
$custom: #2c209c;
$custom-light: #775fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c209c",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 245.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.18742,
    "h": 275.8
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C209C

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

Preview Lab → · Contrast checker → · Palette generator →

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