#2D1C84#2D1C84

#2D1C84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.161 H 280.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2D1C84
RGBrgb(45, 28, 132)
HSLhsl(250, 65%, 31%)
HSVhsv(250, 79%, 52%)
CMYKcmyk(65.9%, 78.8%, 0%, 48.2%)
CIE-LABlab(20.26, 38.98, -55.05)
CIE-LCHlch(20.26, 67.45, 305.30°)
OKLaboklab(32.98% 0.0288 -0.1589)
OKLCHoklch(32.98% 0.161 280.3)
XYZxyz(5.6610, 3.0539, 22.1165)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C84 #73841C
analogous
#1C3F84 #2D1C84 #611C84
triadic
#2D1C84 #842D1C #1C842D
tetradic
#2D1C84 #841C3F #73841C #1C8461
square
#2D1C84 #841C3F #73841C #1C8461
split-complementary
#2D1C84 #84611C #3F841C
monochromatic
#0B071F #1C1152 #2D1C84 #3E27B6 #5B43D7

Accessibility & contrast

On white

13.04
#2D1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C84
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C84#FFFFFF#000000##FFFFFF
##2D1C841.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1c84;
/* rgb */ color: rgb(45, 28, 132);
/* oklch */ color: oklch(33.0% 0.161 280.3);
Tailwind
colors: {
  custom: {
    50: '#735ba9',
    500: '#2d1c84',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c84;
$custom-light: #735ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c84",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 249.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.16149,
    "h": 280.3
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#2D1C84
secondary
#A4B745
accent
#E840CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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