#2C1C9E#2C1C9E

#2C1C9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.193 H 275.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2C1C9E
RGBrgb(44, 28, 158)
HSLhsl(247, 70%, 36%)
HSVhsv(247, 82%, 62%)
CMYKcmyk(72.2%, 82.3%, 0%, 38%)
CIE-LABlab(23.11, 47.03, -66.47)
CIE-LCHlch(23.11, 81.42, 305.28°)
OKLaboklab(35.82% 0.02 -0.1921)
OKLCHoklch(35.82% 0.193 275.9)
XYZxyz(7.6235, 3.8339, 32.6794)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C9E #8E9E1C
analogous
#1C4D9E #2C1C9E #6D1C9E
triadic
#2C1C9E #9E2C1C #1C9E2C
tetradic
#2C1C9E #9E1C4D #8E9E1C #1C9E6D
square
#2C1C9E #9E1C4D #8E9E1C #1C9E6D
split-complementary
#2C1C9E #9E6D1C #4D9E1C
monochromatic
#0F0A36 #1E136A #2C1C9E #3A25D2 #6554E1

Accessibility & contrast

On white

11.88
#2C1C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C1C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C9E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C9E#FFFFFF#000000##FFFFFF
##2C1C9E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c1c9e;
/* rgb */ color: rgb(44, 28, 158);
/* oklch */ color: oklch(35.8% 0.193 275.9);
Tailwind
colors: {
  custom: {
    50: '#785dbc',
    500: '#2c1c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c9e;
$custom-light: #785dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c9e",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 247.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35815,
    "c": 0.19316,
    "h": 275.9
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#2C1C9E
secondary
#B6C452
accent
#ED3BD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C1C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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