#2C1C88#2C1C88

#2C1C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 279.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2C1C88
RGBrgb(44, 28, 136)
HSLhsl(249, 66%, 32%)
HSVhsv(249, 79%, 53%)
CMYKcmyk(67.6%, 79.4%, 0%, 46.7%)
CIE-LABlab(20.61, 40.14, -56.99)
CIE-LCHlch(20.61, 69.71, 305.16°)
OKLaboklab(33.33% 0.0262 -0.1646)
OKLCHoklch(33.33% 0.167 279)
XYZxyz(5.8965, 3.1431, 23.5837)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C88 #78881C
analogous
#1C4288 #2C1C88 #621C88
triadic
#2C1C88 #882C1C #1C882C
tetradic
#2C1C88 #881C42 #78881C #1C8862
square
#2C1C88 #881C42 #78881C #1C8862
split-complementary
#2C1C88 #88621C #42881C
monochromatic
#0B0722 #1C1255 #2C1C88 #3C26BB #5B46D9

Accessibility & contrast

On white

12.89
#2C1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1C88
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C88#FFFFFF#000000##FFFFFF
##2C1C881.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c1c88;
/* rgb */ color: rgb(44, 28, 136);
/* oklch */ color: oklch(33.3% 0.167 279.0);
Tailwind
colors: {
  custom: {
    50: '#735bac',
    500: '#2c1c88',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c88;
$custom-light: #735bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c88",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 248.889,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33334,
    "c": 0.16665,
    "h": 279
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#2C1C88
secondary
#A9BA45
accent
#E93FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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