#2D1E79#2D1E79

#2D1E79 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.145 H 282.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2D1E79
RGBrgb(45, 30, 121)
HSLhsl(250, 60%, 30%)
HSVhsv(250, 75%, 47%)
CMYKcmyk(62.8%, 75.2%, 0%, 52.5%)
CIE-LABlab(19.50, 34.28, -49.31)
CIE-LCHlch(19.50, 60.06, 304.81°)
OKLaboklab(32.1% 0.0301 -0.1422)
OKLCHoklch(32.1% 0.145 282)
XYZxyz(4.9966, 2.8666, 18.3755)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E79 #6A791E
analogous
#1E3D79 #2D1E79 #5B1E79
triadic
#2D1E79 #792D1E #1E792D
tetradic
#2D1E79 #791E3D #6A791E #1E795B
square
#2D1E79 #791E3D #6A791E #1E795B
split-complementary
#2D1E79 #795B1E #3D791E
monochromatic
#090619 #1B1248 #2D1E79 #3F2AAA #5941D0

Accessibility & contrast

On white

13.35
#2D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E79
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E79#FFFFFF#000000##FFFFFF
##2D1E791.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d1e79;
/* rgb */ color: rgb(45, 30, 121);
/* oklch */ color: oklch(32.1% 0.145 282.0);
Tailwind
colors: {
  custom: {
    50: '#705ca1',
    500: '#2d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e79;
$custom-light: #705ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e79",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 249.89,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.321,
    "c": 0.14532,
    "h": 282
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#2D1E79
secondary
#9CAD46
accent
#E344C9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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