#2C1B86#2C1B86

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

Color values

HEX#2C1B86
RGBrgb(44, 27, 134)
HSLhsl(250, 66%, 32%)
HSVhsv(250, 80%, 53%)
CMYKcmyk(67.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(20.20, 40.03, -56.40)
CIE-LCHlch(20.20, 69.16, 305.36°)
OKLaboklab(32.99% 0.0273 -0.1629)
OKLCHoklch(32.99% 0.165 279.5)
XYZxyz(5.7323, 3.0401, 22.8344)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1B86 #75861B
analogous
#1B4086 #2C1B86 #621B86
triadic
#2C1B86 #862C1B #1B862C
tetradic
#2C1B86 #861B40 #75861B #1B8662
square
#2C1B86 #861B40 #75861B #1B8662
split-complementary
#2C1B86 #86621B #40861B
monochromatic
#0B0620 #1B1153 #2C1B86 #3D25B9 #5A42D9

Accessibility & contrast

On white

13.06
#2C1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1B86
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1B86#FFFFFF#000000##FFFFFF
##2C1B861.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1b86;
/* rgb */ color: rgb(44, 27, 134);
/* oklch */ color: oklch(33.0% 0.165 279.5);
Tailwind
colors: {
  custom: {
    50: '#735aaa',
    500: '#2c1b86',
    950: '#000000',
  },
}
SCSS
$custom: #2c1b86;
$custom-light: #735aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1b86",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 249.533,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.16514,
    "h": 279.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#2C1B86
secondary
#A7B944
accent
#E93ECE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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