#2C1D88#2C1D88

#2C1D88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.166 H 278.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2C1D88
RGBrgb(44, 29, 136)
HSLhsl(248, 65%, 32%)
HSVhsv(248, 79%, 53%)
CMYKcmyk(67.6%, 78.7%, 0%, 46.7%)
CIE-LABlab(20.79, 39.61, -56.69)
CIE-LCHlch(20.79, 69.15, 304.94°)
OKLaboklab(33.47% 0.0256 -0.1637)
OKLCHoklch(33.47% 0.166 278.9)
XYZxyz(5.9206, 3.1913, 23.5918)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D88 #79881D
analogous
#1D4488 #2C1D88 #611D88
triadic
#2C1D88 #882C1D #1D882C
tetradic
#2C1D88 #881D44 #79881D #1D8861
square
#2C1D88 #881D44 #79881D #1D8861
split-complementary
#2C1D88 #88611D #44881D
monochromatic
#0B0723 #1C1256 #2C1D88 #3C28BA #5C48D8

Accessibility & contrast

On white

12.82
#2C1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1D88
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D88#FFFFFF#000000##FFFFFF
##2C1D881.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1d88;
/* rgb */ color: rgb(44, 29, 136);
/* oklch */ color: oklch(33.5% 0.166 278.9);
Tailwind
colors: {
  custom: {
    50: '#735cac',
    500: '#2c1d88',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d88;
$custom-light: #735cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d88",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 248.411,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.16569,
    "h": 278.9
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#2C1D88
secondary
#AABA47
accent
#E840D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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