#2D1E86#2D1E86

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

Color values

HEX#2D1E86
RGBrgb(45, 30, 134)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 78%, 53%)
CMYKcmyk(66.4%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.86, 38.53, -55.33)
CIE-LCHlch(20.86, 67.42, 304.86°)
OKLaboklab(33.47% 0.027 -0.1597)
OKLCHoklch(33.47% 0.162 279.6)
XYZxyz(5.8482, 3.2072, 22.8605)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E86 #77861E
analogous
#1E4386 #2D1E86 #611E86
triadic
#2D1E86 #862D1E #1E862D
tetradic
#2D1E86 #861E43 #77861E #1E8661
square
#2D1E86 #861E43 #77861E #1E8661
split-complementary
#2D1E86 #86611E #43861E
monochromatic
#0B0822 #1C1354 #2D1E86 #3E29B8 #5D48D6

Accessibility & contrast

On white

12.79
#2D1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1E86
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E86#FFFFFF#000000##FFFFFF
##2D1E861.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d1e86;
/* rgb */ color: rgb(45, 30, 134);
/* oklch */ color: oklch(33.5% 0.162 279.6);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e86;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e86",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 248.654,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.16198,
    "h": 279.6
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#2D1E86
secondary
#A8B847
accent
#E641CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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