#2C1C86#2C1C86

#2C1C86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.164 H 279.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2C1C86
RGBrgb(44, 28, 134)
HSLhsl(249, 65%, 32%)
HSVhsv(249, 79%, 53%)
CMYKcmyk(67.2%, 79.1%, 0%, 47.5%)
CIE-LABlab(20.39, 39.50, -56.10)
CIE-LCHlch(20.39, 68.61, 305.15°)
OKLaboklab(33.12% 0.0267 -0.162)
OKLCHoklch(33.12% 0.164 279.4)
XYZxyz(5.7557, 3.0867, 22.8421)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C86 #76861C
analogous
#1C4186 #2C1C86 #611C86
triadic
#2C1C86 #862C1C #1C862C
tetradic
#2C1C86 #861C41 #76861C #1C8661
square
#2C1C86 #861C41 #76861C #1C8661
split-complementary
#2C1C86 #86611C #41861C
monochromatic
#0B0721 #1B1153 #2C1C86 #3D27B9 #5B44D8

Accessibility & contrast

On white

12.98
#2C1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C86
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C86#FFFFFF#000000##FFFFFF
##2C1C861.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1c86;
/* rgb */ color: rgb(44, 28, 134);
/* oklch */ color: oklch(33.1% 0.164 279.4);
Tailwind
colors: {
  custom: {
    50: '#735baa',
    500: '#2c1c86',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c86;
$custom-light: #735baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c86",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 249.057,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.16417,
    "h": 279.4
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#2C1C86
secondary
#A7B945
accent
#E83FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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