#2D1E81#2D1E81

#2D1E81 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.156 H 280.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2D1E81
RGBrgb(45, 30, 129)
HSLhsl(249, 62%, 31%)
HSVhsv(249, 77%, 51%)
CMYKcmyk(65.1%, 76.7%, 0%, 49.4%)
CIE-LABlab(20.33, 36.91, -53.05)
CIE-LCHlch(20.33, 64.62, 304.83°)
OKLaboklab(32.93% 0.0282 -0.1531)
OKLCHoklch(32.93% 0.156 280.5)
XYZxyz(5.5077, 3.0710, 21.0671)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E81 #72811E
analogous
#1E4081 #2D1E81 #5E1E81
triadic
#2D1E81 #812D1E #1E812D
tetradic
#2D1E81 #811E40 #72811E #1E815E
square
#2D1E81 #811E40 #72811E #1E815E
split-complementary
#2D1E81 #815E1E #40811E
monochromatic
#0A071E #1C124F #2D1E81 #3E2AB3 #5B46D4

Accessibility & contrast

On white

13.01
#2D1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1E81
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E81#FFFFFF#000000##FFFFFF
##2D1E811.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1e81;
/* rgb */ color: rgb(45, 30, 129);
/* oklch */ color: oklch(32.9% 0.156 280.5);
Tailwind
colors: {
  custom: {
    50: '#725ca7',
    500: '#2d1e81',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e81;
$custom-light: #725ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e81",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 249.091,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32933,
    "c": 0.15564,
    "h": 280.5
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#2D1E81
secondary
#A3B447
accent
#E542CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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