#2C1B89#2C1B89

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

Color values

HEX#2C1B89
RGBrgb(44, 27, 137)
HSLhsl(249, 67%, 32%)
HSVhsv(249, 80%, 54%)
CMYKcmyk(67.9%, 80.3%, 0%, 46.3%)
CIE-LABlab(20.54, 40.98, -57.74)
CIE-LCHlch(20.54, 70.80, 305.37°)
OKLaboklab(33.32% 0.0265 -0.1667)
OKLCHoklch(33.32% 0.169 279)
XYZxyz(5.9445, 3.1250, 23.9520)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1B89 #78891B
analogous
#1B4189 #2C1B89 #631B89
triadic
#2C1B89 #892C1B #1B892C
tetradic
#2C1B89 #891B41 #78891B #1B8963
square
#2C1B89 #891B41 #78891B #1B8963
split-complementary
#2C1B89 #89631B #41891B
monochromatic
#0B0723 #1C1156 #2C1B89 #3C25BC #5B44DA

Accessibility & contrast

On white

12.92
#2C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1B89
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1B89#FFFFFF#000000##FFFFFF
##2C1B891.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1b89;
/* rgb */ color: rgb(44, 27, 137);
/* oklch */ color: oklch(33.3% 0.169 279.0);
Tailwind
colors: {
  custom: {
    50: '#735bad',
    500: '#2c1b89',
    950: '#000000',
  },
}
SCSS
$custom: #2c1b89;
$custom-light: #735bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1b89",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 249.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.16883,
    "h": 279
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#2C1B89
secondary
#A9BC44
accent
#EA3ECF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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