#2C1AA0#2C1AA0

#2C1AA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.197 H 275.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2C1AA0
RGBrgb(44, 26, 160)
HSLhsl(248, 72%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(72.5%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.04, 48.56, -67.81)
CIE-LCHlch(23.04, 83.41, 305.60°)
OKLaboklab(35.83% 0.0201 -0.196)
OKLCHoklch(35.83% 0.197 275.9)
XYZxyz(7.7512, 3.8116, 33.5781)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1AA0 #8EA01A
analogous
#1A4BA0 #2C1AA0 #6F1AA0
triadic
#2C1AA0 #A02C1A #1AA02C
tetradic
#2C1AA0 #A01A4B #8EA01A #1AA06F
square
#2C1AA0 #A01A4B #8EA01A #1AA06F
split-complementary
#2C1AA0 #A06F1A #4BA01A
monochromatic
#0F0937 #1E116B #2C1AA0 #3A23D5 #6552E3

Accessibility & contrast

On white

11.92
#2C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1AA0
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1AA0#FFFFFF#000000##FFFFFF
##2C1AA01.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1aa0;
/* rgb */ color: rgb(44, 26, 160);
/* oklch */ color: oklch(35.8% 0.197 275.9);
Tailwind
colors: {
  custom: {
    50: '#795cbd',
    500: '#2c1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c1aa0;
$custom-light: #795cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1aa0",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 248.06,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35831,
    "c": 0.19704,
    "h": 275.9
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#2C1AA0
secondary
#B6C550
accent
#EF39D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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