#2C1D86#2C1D86

#2C1D86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.163 H 279.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2C1D86
RGBrgb(44, 29, 134)
HSLhsl(249, 64%, 32%)
HSVhsv(249, 78%, 53%)
CMYKcmyk(67.2%, 78.4%, 0%, 47.5%)
CIE-LABlab(20.58, 38.96, -55.79)
CIE-LCHlch(20.58, 68.05, 304.93°)
OKLaboklab(33.25% 0.0261 -0.1611)
OKLCHoklch(33.25% 0.163 279.2)
XYZxyz(5.7798, 3.1350, 22.8502)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D86 #77861D
analogous
#1D4386 #2C1D86 #601D86
triadic
#2C1D86 #862C1D #1D862C
tetradic
#2C1D86 #861D43 #77861D #1D8660
square
#2C1D86 #861D43 #77861D #1D8660
split-complementary
#2C1D86 #86601D #43861D
monochromatic
#0B0721 #1B1254 #2C1D86 #3D28B8 #5B46D7

Accessibility & contrast

On white

12.91
#2C1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1D86
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D86#FFFFFF#000000##FFFFFF
##2C1D861.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1d86;
/* rgb */ color: rgb(44, 29, 134);
/* oklch */ color: oklch(33.2% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2c1d86',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d86;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d86",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 248.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33247,
    "c": 0.1632,
    "h": 279.2
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#2C1D86
secondary
#A8B946
accent
#E740D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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