#2C1DA0#2C1DA0

#2C1DA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.195 H 275.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2C1DA0
RGBrgb(44, 29, 160)
HSLhsl(247, 69%, 37%)
HSVhsv(247, 82%, 63%)
CMYKcmyk(72.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(23.51, 47.17, -67.03)
CIE-LCHlch(23.51, 81.97, 305.14°)
OKLaboklab(36.16% 0.019 -0.1938)
OKLCHoklch(36.16% 0.195 275.6)
XYZxyz(7.8211, 3.9515, 33.6014)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1DA0 #91A01D
analogous
#1D50A0 #2C1DA0 #6D1DA0
triadic
#2C1DA0 #A02C1D #1DA02C
tetradic
#2C1DA0 #A01D50 #91A01D #1DA06D
square
#2C1DA0 #A01D50 #91A01D #1DA06D
split-complementary
#2C1DA0 #A06D1D #50A01D
monochromatic
#100A38 #1E146C #2C1DA0 #3A26D4 #6757E1

Accessibility & contrast

On white

11.73
#2C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1DA0
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1DA0#FFFFFF#000000##FFFFFF
##2C1DA01.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c1da0;
/* rgb */ color: rgb(44, 29, 160);
/* oklch */ color: oklch(36.2% 0.195 275.6);
Tailwind
colors: {
  custom: {
    50: '#795dbd',
    500: '#2c1da0',
    950: '#000000',
  },
}
SCSS
$custom: #2c1da0;
$custom-light: #795dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1da0",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 246.87,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.19472,
    "h": 275.6
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#2C1DA0
secondary
#B7C455
accent
#EC3CD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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