#2C1D84#2C1D84

#2C1D84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.161 H 279.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2C1D84
RGBrgb(44, 29, 132)
HSLhsl(249, 64%, 32%)
HSVhsv(249, 78%, 52%)
CMYKcmyk(66.7%, 78%, 0%, 48.2%)
CIE-LABlab(20.36, 38.31, -54.89)
CIE-LCHlch(20.36, 66.94, 304.92°)
OKLaboklab(33.03% 0.0267 -0.1584)
OKLCHoklch(33.03% 0.161 279.5)
XYZxyz(5.6416, 3.0797, 22.1225)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D84 #75841D
analogous
#1D4284 #2C1D84 #601D84
triadic
#2C1D84 #842C1D #1D842C
tetradic
#2C1D84 #841D42 #75841D #1D8460
square
#2C1D84 #841D42 #75841D #1D8460
split-complementary
#2C1D84 #84601D #42841D
monochromatic
#0B0720 #1B1252 #2C1D84 #3D28B6 #5A45D6

Accessibility & contrast

On white

13.00
#2C1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1D84
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D84#FFFFFF#000000##FFFFFF
##2C1D841.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1d84;
/* rgb */ color: rgb(44, 29, 132);
/* oklch */ color: oklch(33.0% 0.161 279.5);
Tailwind
colors: {
  custom: {
    50: '#725ca9',
    500: '#2c1d84',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d84;
$custom-light: #725ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d84",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 248.738,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.16068,
    "h": 279.5
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2C1D84
secondary
#A7B746
accent
#E741CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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