#2C1D85#2C1D85

#2C1D85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.162 H 279.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2C1D85
RGBrgb(44, 29, 133)
HSLhsl(249, 64%, 32%)
HSVhsv(249, 78%, 52%)
CMYKcmyk(66.9%, 78.2%, 0%, 47.8%)
CIE-LABlab(20.47, 38.64, -55.34)
CIE-LCHlch(20.47, 67.49, 304.92°)
OKLaboklab(33.14% 0.0264 -0.1598)
OKLCHoklch(33.14% 0.162 279.4)
XYZxyz(5.7104, 3.1072, 22.4846)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D85 #76851D
analogous
#1D4285 #2C1D85 #601D85
triadic
#2C1D85 #852C1D #1D852C
tetradic
#2C1D85 #851D42 #76851D #1D8560
square
#2C1D85 #851D42 #76851D #1D8560
split-complementary
#2C1D85 #85601D #42851D
monochromatic
#0B0721 #1B1253 #2C1D85 #3D28B7 #5B46D7

Accessibility & contrast

On white

12.95
#2C1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1D85
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D85#FFFFFF#000000##FFFFFF
##2C1D851.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c1d85;
/* rgb */ color: rgb(44, 29, 133);
/* oklch */ color: oklch(33.1% 0.162 279.4);
Tailwind
colors: {
  custom: {
    50: '#725caa',
    500: '#2c1d85',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d85;
$custom-light: #725caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d85",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 248.654,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.16193,
    "h": 279.4
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2C1D85
secondary
#A7B846
accent
#E741CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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