#2C1E88#2C1E88

#2C1E88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.165 H 278.7°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2C1E88
RGBrgb(44, 30, 136)
HSLhsl(248, 64%, 33%)
HSVhsv(248, 78%, 53%)
CMYKcmyk(67.6%, 77.9%, 0%, 46.7%)
CIE-LABlab(20.98, 39.06, -56.37)
CIE-LCHlch(20.98, 68.58, 304.72°)
OKLaboklab(33.6% 0.025 -0.1628)
OKLCHoklch(33.6% 0.165 278.7)
XYZxyz(5.9455, 3.2411, 23.6001)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E88 #7A881E
analogous
#1E4588 #2C1E88 #611E88
triadic
#2C1E88 #882C1E #1E882C
tetradic
#2C1E88 #881E45 #7A881E #1E8861
square
#2C1E88 #881E45 #7A881E #1E8861
split-complementary
#2C1E88 #88611E #45881E
monochromatic
#0C0824 #1C1356 #2C1E88 #3C29BA #5C49D7

Accessibility & contrast

On white

12.74
#2C1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E88
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E88#FFFFFF#000000##FFFFFF
##2C1E881.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c1e88;
/* rgb */ color: rgb(44, 30, 136);
/* oklch */ color: oklch(33.6% 0.165 278.7);
Tailwind
colors: {
  custom: {
    50: '#735cac',
    500: '#2c1e88',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e88;
$custom-light: #735cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e88",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 247.925,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.1647,
    "h": 278.7
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#2C1E88
secondary
#AAB949
accent
#E741D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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