#2C1DBB#2C1DBB

#2C1DBB is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.3% C 0.226 H 272.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2C1DBB
RGBrgb(44, 29, 187)
HSLhsl(246, 73%, 42%)
HSVhsv(246, 84%, 73%)
CMYKcmyk(76.5%, 84.5%, 0%, 26.7%)
CIE-LABlab(26.74, 55.28, -77.91)
CIE-LCHlch(26.74, 95.53, 305.36°)
OKLaboklab(39.31% 0.0116 -0.2253)
OKLCHoklch(39.31% 0.226 272.9)
XYZxyz(10.4447, 5.0009, 47.4189)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1DBB #ACBB1D
analogous
#1D5DBB #2C1DBB #7B1DBB
triadic
#2C1DBB #BB2C1D #1DBB2C
tetradic
#2C1DBB #BB1D5D #ACBB1D #1DBB7B
square
#2C1DBB #BB1D5D #ACBB1D #1DBB7B
split-complementary
#2C1DBB #BB7B1D #5DBB1D
monochromatic
#130D51 #201586 #2C1DBB #4635E0 #766AE8

Accessibility & contrast

On white

10.50
#2C1DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C1DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1DBB
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1DBB#FFFFFF#000000##FFFFFF
##2C1DBB1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BF
Deuteranopia (green-blind)
#0038B8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c1dbb;
/* rgb */ color: rgb(44, 29, 187);
/* oklch */ color: oklch(39.3% 0.226 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f5fd1',
    500: '#2c1dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c1dbb;
$custom-light: #7f5fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1dbb",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 245.696,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.22562,
    "h": 272.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#2C1DBB
secondary
#C4CE66
accent
#F038DE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2C1DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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