#2D1C83#2D1C83

#2D1C83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.160 H 280.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2D1C83
RGBrgb(45, 28, 131)
HSLhsl(250, 65%, 31%)
HSVhsv(250, 79%, 51%)
CMYKcmyk(65.6%, 78.6%, 0%, 48.6%)
CIE-LABlab(20.15, 38.66, -54.60)
CIE-LCHlch(20.15, 66.90, 305.30°)
OKLaboklab(32.87% 0.0291 -0.1576)
OKLCHoklch(32.87% 0.16 280.4)
XYZxyz(5.5929, 3.0267, 21.7578)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C83 #72831C
analogous
#1C3E83 #2D1C83 #601C83
triadic
#2D1C83 #832D1C #1C832D
tetradic
#2D1C83 #831C3E #72831C #1C8360
square
#2D1C83 #831C3E #72831C #1C8360
split-complementary
#2D1C83 #83601C #3E831C
monochromatic
#0A061E #1C1151 #2D1C83 #3E27B5 #5B43D7

Accessibility & contrast

On white

13.08
#2D1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1C83
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C83#FFFFFF#000000##FFFFFF
##2D1C831.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1c83;
/* rgb */ color: rgb(45, 28, 131);
/* oklch */ color: oklch(32.9% 0.160 280.4);
Tailwind
colors: {
  custom: {
    50: '#725ba8',
    500: '#2d1c83',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c83;
$custom-light: #725ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c83",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 249.903,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.16024,
    "h": 280.4
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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