#2C1B90#2C1B90

#2C1B90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.177 H 277.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2C1B90
RGBrgb(44, 27, 144)
HSLhsl(249, 68%, 34%)
HSVhsv(249, 81%, 56%)
CMYKcmyk(69.4%, 81.3%, 0%, 43.5%)
CIE-LABlab(21.33, 43.18, -60.80)
CIE-LCHlch(21.33, 74.57, 305.38°)
OKLaboklab(34.1% 0.0245 -0.1756)
OKLCHoklch(34.1% 0.177 277.9)
XYZxyz(6.4631, 3.3324, 26.6828)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1B90 #7F901B
analogous
#1B4490 #2C1B90 #661B90
triadic
#2C1B90 #902C1B #1B902C
tetradic
#2C1B90 #901B44 #7F901B #1B9066
square
#2C1B90 #901B44 #7F901B #1B9066
split-complementary
#2C1B90 #90661B #44901B
monochromatic
#0D0829 #1C115C #2C1B90 #3C25C4 #5E49DD

Accessibility & contrast

On white

12.60
#2C1B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C1B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1B90
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1B90#FFFFFF#000000##FFFFFF
##2C1B901.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c1b90;
/* rgb */ color: rgb(44, 27, 144);
/* oklch */ color: oklch(34.1% 0.177 277.9);
Tailwind
colors: {
  custom: {
    50: '#755bb2',
    500: '#2c1b90',
    950: '#000000',
  },
}
SCSS
$custom: #2c1b90;
$custom-light: #755bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1b90",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 248.718,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.17733,
    "h": 277.9
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#2C1B90
secondary
#ADBF48
accent
#EB3DD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1B90

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

Preview Lab → · Contrast checker → · Palette generator →

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