#2C1E9E#2C1E9E

#2C1E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.192 H 275.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2C1E9E
RGBrgb(44, 30, 158)
HSLhsl(247, 68%, 37%)
HSVhsv(247, 81%, 62%)
CMYKcmyk(72.2%, 81%, 0%, 38%)
CIE-LABlab(23.45, 46.07, -65.92)
CIE-LCHlch(23.45, 80.42, 304.95°)
OKLaboklab(36.04% 0.0192 -0.1906)
OKLCHoklch(36.04% 0.192 275.7)
XYZxyz(7.6725, 3.9319, 32.6957)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E9E #909E1E
analogous
#1E509E #2C1E9E #6C1E9E
triadic
#2C1E9E #9E2C1E #1E9E2C
tetradic
#2C1E9E #9E1E50 #909E1E #1E9E6C
square
#2C1E9E #9E1E50 #909E1E #1E9E6C
split-complementary
#2C1E9E #9E6C1E #509E1E
monochromatic
#0F0A37 #1E146B #2C1E9E #3A28D1 #6657DF

Accessibility & contrast

On white

11.75
#2C1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E9E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E9E#FFFFFF#000000##FFFFFF
##2C1E9E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c1e9e;
/* rgb */ color: rgb(44, 30, 158);
/* oklch */ color: oklch(36.0% 0.192 275.7);
Tailwind
colors: {
  custom: {
    50: '#785ebc',
    500: '#2c1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e9e;
$custom-light: #785ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e9e",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 246.563,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.19153,
    "h": 275.7
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#2C1E9E
secondary
#B7C355
accent
#EB3DD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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