#2C1B85#2C1B85

#2C1B85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.164 H 279.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2C1B85
RGBrgb(44, 27, 133)
HSLhsl(250, 66%, 31%)
HSVhsv(250, 80%, 52%)
CMYKcmyk(66.9%, 79.7%, 0%, 47.8%)
CIE-LABlab(20.09, 39.71, -55.96)
CIE-LCHlch(20.09, 68.62, 305.36°)
OKLaboklab(32.88% 0.0276 -0.1615)
OKLCHoklch(32.88% 0.164 279.7)
XYZxyz(5.6629, 3.0123, 22.4688)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1B85 #74851B
analogous
#1B3F85 #2C1B85 #611B85
triadic
#2C1B85 #852C1B #1B852C
tetradic
#2C1B85 #851B3F #74851B #1B8561
square
#2C1B85 #851B3F #74851B #1B8561
split-complementary
#2C1B85 #85611B #3F851B
monochromatic
#0A061F #1B1152 #2C1B85 #3D25B8 #5A42D9

Accessibility & contrast

On white

13.10
#2C1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1B85
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1B85#FFFFFF#000000##FFFFFF
##2C1B851.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c1b85;
/* rgb */ color: rgb(44, 27, 133);
/* oklch */ color: oklch(32.9% 0.164 279.7);
Tailwind
colors: {
  custom: {
    50: '#735aaa',
    500: '#2c1b85',
    950: '#000000',
  },
}
SCSS
$custom: #2c1b85;
$custom-light: #735aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1b85",
  "rgb": {
    "r": 44,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 249.623,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32876,
    "c": 0.16389,
    "h": 279.7
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#2C1B85
secondary
#A6B844
accent
#E93FCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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