#2C209E#2C209E

#2C209E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.190 H 275.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2C209E
RGBrgb(44, 32, 158)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 80%, 62%)
CMYKcmyk(72.2%, 79.7%, 0%, 38%)
CIE-LABlab(23.79, 45.06, -65.35)
CIE-LCHlch(23.79, 79.38, 304.59°)
OKLaboklab(36.29% 0.0183 -0.1889)
OKLCHoklch(36.29% 0.19 275.5)
XYZxyz(7.7247, 4.0364, 32.7131)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C209E #929E20
analogous
#20539E #2C209E #6B209E
triadic
#2C209E #9E2C20 #209E2C
tetradic
#2C209E #9E2053 #929E20 #209E6B
square
#2C209E #9E2053 #929E20 #209E6B
split-complementary
#2C209E #9E6B20 #539E20
monochromatic
#100B38 #1E166B #2C209E #3A2AD1 #675BDE

Accessibility & contrast

On white

11.62
#2C209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C209E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C209E#FFFFFF#000000##FFFFFF
##2C209E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c209e;
/* rgb */ color: rgb(44, 32, 158);
/* oklch */ color: oklch(36.3% 0.190 275.5);
Tailwind
colors: {
  custom: {
    50: '#785fbc',
    500: '#2c209e',
    950: '#000000',
  },
}
SCSS
$custom: #2c209e;
$custom-light: #785fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c209e",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 245.714,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.18982,
    "h": 275.5
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#2C209E
secondary
#B8C258
accent
#E93FD9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C209E

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

Preview Lab → · Contrast checker → · Palette generator →

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