#2C1E77#2C1E77

#2C1E77 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.143 H 281.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#2C1E77
RGBrgb(44, 30, 119)
HSLhsl(249, 60%, 29%)
HSVhsv(249, 75%, 47%)
CMYKcmyk(63%, 74.8%, 0%, 53.3%)
CIE-LABlab(19.21, 33.47, -48.52)
CIE-LCHlch(19.21, 58.95, 304.60°)
OKLaboklab(31.81% 0.0291 -0.1399)
OKLCHoklch(31.81% 0.143 281.7)
XYZxyz(4.8317, 2.7956, 17.7342)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E77 #69771E
analogous
#1E3D77 #2C1E77 #591E77
triadic
#2C1E77 #772C1E #1E772C
tetradic
#2C1E77 #771E3D #69771E #1E7759
square
#2C1E77 #771E3D #69771E #1E7759
split-complementary
#2C1E77 #77591E #3D771E
monochromatic
#090618 #1A1246 #2C1E77 #3E2AA8 #5740CF

Accessibility & contrast

On white

13.47
#2C1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2C1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E77
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E77#FFFFFF#000000##FFFFFF
##2C1E771.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c1e77;
/* rgb */ color: rgb(44, 30, 119);
/* oklch */ color: oklch(31.8% 0.143 281.7);
Tailwind
colors: {
  custom: {
    50: '#6f5b9f',
    500: '#2c1e77',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e77;
$custom-light: #6f5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e77",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 249.438,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31806,
    "c": 0.14286,
    "h": 281.7
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#2C1E77
secondary
#9BAB46
accent
#E345CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #2C1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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