#2C1D91#2C1D91

#2C1D91 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.177 H 277.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2C1D91
RGBrgb(44, 29, 145)
HSLhsl(248, 67%, 34%)
HSVhsv(248, 80%, 57%)
CMYKcmyk(69.7%, 80%, 0%, 43.1%)
CIE-LABlab(21.79, 42.48, -60.65)
CIE-LCHlch(21.79, 74.05, 305.01°)
OKLaboklab(34.46% 0.0232 -0.1752)
OKLCHoklch(34.46% 0.177 277.5)
XYZxyz(6.5872, 3.4580, 27.1029)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D91 #82911D
analogous
#1D4891 #2C1D91 #661D91
triadic
#2C1D91 #912C1D #1D912C
tetradic
#2C1D91 #911D48 #82911D #1D9166
square
#2C1D91 #911D48 #82911D #1D9166
split-complementary
#2C1D91 #91661D #48911D
monochromatic
#0D092B #1D135E #2C1D91 #3B27C4 #5F4DDB

Accessibility & contrast

On white

12.41
#2C1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1D91
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D91#FFFFFF#000000##FFFFFF
##2C1D911.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c1d91;
/* rgb */ color: rgb(44, 29, 145);
/* oklch */ color: oklch(34.5% 0.177 277.5);
Tailwind
colors: {
  custom: {
    50: '#755cb2',
    500: '#2c1d91',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d91;
$custom-light: #755cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d91",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 247.759,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34458,
    "c": 0.17678,
    "h": 277.5
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#2C1D91
secondary
#AFBE4C
accent
#EA3ED3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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