#2C1C7D#2C1C7D

#2C1C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 281.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2C1C7D
RGBrgb(44, 28, 125)
HSLhsl(250, 63%, 30%)
HSVhsv(250, 78%, 49%)
CMYKcmyk(64.8%, 77.6%, 0%, 51%)
CIE-LABlab(19.42, 36.60, -52.01)
CIE-LCHlch(19.42, 63.59, 305.13°)
OKLaboklab(32.14% 0.0291 -0.15)
OKLCHoklch(32.14% 0.153 281)
XYZxyz(5.1545, 2.8463, 19.6758)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C7D #6D7D1C
analogous
#1C3C7D #2C1C7D #5D1C7D
triadic
#2C1C7D #7D2C1C #1C7D2C
tetradic
#2C1C7D #7D1C3C #6D7D1C #1C7D5D
square
#2C1C7D #7D1C3C #6D7D1C #1C7D5D
split-complementary
#2C1C7D #7D5D1C #3C7D1C
monochromatic
#090619 #1A114B #2C1C7D #3E27AF #583FD4

Accessibility & contrast

On white

13.38
#2C1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2C1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C7D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C7D#FFFFFF#000000##FFFFFF
##2C1C7D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c1c7d;
/* rgb */ color: rgb(44, 28, 125);
/* oklch */ color: oklch(32.1% 0.153 281.0);
Tailwind
colors: {
  custom: {
    50: '#715ba4',
    500: '#2c1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c7d;
$custom-light: #715ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c7d",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 249.897,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.15284,
    "h": 281
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#2C1C7D
secondary
#9FB144
accent
#E641CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2C1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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