#2C1E99#2C1E99

#2C1E99 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.186 H 276.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2C1E99
RGBrgb(44, 30, 153)
HSLhsl(247, 67%, 36%)
HSVhsv(247, 80%, 60%)
CMYKcmyk(71.2%, 80.4%, 0%, 40%)
CIE-LABlab(22.87, 44.50, -63.80)
CIE-LCHlch(22.87, 77.79, 304.90°)
OKLaboklab(35.48% 0.0205 -0.1844)
OKLCHoklch(35.48% 0.186 276.3)
XYZxyz(7.2509, 3.7633, 30.4751)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E99 #8B991E
analogous
#1E4D99 #2C1E99 #691E99
triadic
#2C1E99 #992C1E #1E992C
tetradic
#2C1E99 #991E4D #8B991E #1E9969
square
#2C1E99 #991E4D #8B991E #1E9969
split-complementary
#2C1E99 #99691E #4D991E
monochromatic
#0F0A33 #1D1466 #2C1E99 #3B28CC #6454DD

Accessibility & contrast

On white

11.98
#2C1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E99
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E99#FFFFFF#000000##FFFFFF
##2C1E991.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c1e99;
/* rgb */ color: rgb(44, 30, 153);
/* oklch */ color: oklch(35.5% 0.186 276.3);
Tailwind
colors: {
  custom: {
    50: '#775db8',
    500: '#2c1e99',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e99;
$custom-light: #775db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e99",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 246.829,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35478,
    "c": 0.18556,
    "h": 276.3
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#2C1E99
secondary
#B4C152
accent
#EA3ED6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2C1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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