#2C1BA0#2C1BA0

#2C1BA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.196 H 275.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2C1BA0
RGBrgb(44, 27, 160)
HSLhsl(248, 71%, 37%)
HSVhsv(248, 83%, 63%)
CMYKcmyk(72.5%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.19, 48.11, -67.56)
CIE-LCHlch(23.19, 82.94, 305.45°)
OKLaboklab(35.94% 0.0198 -0.1953)
OKLCHoklch(35.94% 0.196 275.8)
XYZxyz(7.7737, 3.8567, 33.5856)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1BA0 #8FA01B
analogous
#1B4DA0 #2C1BA0 #6F1BA0
triadic
#2C1BA0 #A02C1B #1BA02C
tetradic
#2C1BA0 #A01B4D #8FA01B #1BA06F
square
#2C1BA0 #A01B4D #8FA01B #1BA06F
split-complementary
#2C1BA0 #A06F1B #4DA01B
monochromatic
#0F0937 #1E126C #2C1BA0 #3A24D4 #6653E2

Accessibility & contrast

On white

11.86
#2C1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1BA0
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1BA0#FFFFFF#000000##FFFFFF
##2C1BA01.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c1ba0;
/* rgb */ color: rgb(44, 27, 160);
/* oklch */ color: oklch(35.9% 0.196 275.8);
Tailwind
colors: {
  custom: {
    50: '#795cbd',
    500: '#2c1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ba0;
$custom-light: #795cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ba0",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 247.669,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.19629,
    "h": 275.8
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#2C1BA0
secondary
#B6C552
accent
#EE3AD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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