#2D1E83#2D1E83

#2D1E83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.158 H 280.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2D1E83
RGBrgb(45, 30, 131)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 77%, 51%)
CMYKcmyk(65.6%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.54, 37.56, -53.96)
CIE-LCHlch(20.54, 65.75, 304.84°)
OKLaboklab(33.15% 0.0278 -0.1557)
OKLCHoklch(33.15% 0.158 280.1)
XYZxyz(5.6419, 3.1247, 21.7741)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E83 #74831E
analogous
#1E4283 #2D1E83 #601E83
triadic
#2D1E83 #832D1E #1E832D
tetradic
#2D1E83 #831E42 #74831E #1E8360
square
#2D1E83 #831E42 #74831E #1E8360
split-complementary
#2D1E83 #83601E #42831E
monochromatic
#0B071F #1C1351 #2D1E83 #3E29B5 #5C47D5

Accessibility & contrast

On white

12.92
#2D1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E83
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E83#FFFFFF#000000##FFFFFF
##2D1E831.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1e83;
/* rgb */ color: rgb(45, 30, 131);
/* oklch */ color: oklch(33.1% 0.158 280.1);
Tailwind
colors: {
  custom: {
    50: '#725ca8',
    500: '#2d1e83',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e83;
$custom-light: #725ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e83",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 248.911,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.15819,
    "h": 280.1
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#2D1E83
secondary
#A5B647
accent
#E642CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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