#2D1D80#2D1D80

#2D1D80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.155 H 280.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2D1D80
RGBrgb(45, 29, 128)
HSLhsl(250, 63%, 31%)
HSVhsv(250, 77%, 50%)
CMYKcmyk(64.8%, 77.3%, 0%, 49.8%)
CIE-LABlab(20.02, 37.14, -52.91)
CIE-LCHlch(20.02, 64.65, 305.07°)
OKLaboklab(32.69% 0.0292 -0.1527)
OKLCHoklch(32.69% 0.155 280.8)
XYZxyz(5.4166, 2.9947, 20.7105)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D80 #70801D
analogous
#1D3E80 #2D1D80 #5E1D80
triadic
#2D1D80 #802D1D #1D802D
tetradic
#2D1D80 #801D3E #70801D #1D805E
square
#2D1D80 #801D3E #70801D #1D805E
split-complementary
#2D1D80 #805E1D #3E801D
monochromatic
#0A061C #1B124E #2D1D80 #3F28B2 #5A43D4

Accessibility & contrast

On white

13.13
#2D1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D80
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D80#FFFFFF#000000##FFFFFF
##2D1D801.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d1d80;
/* rgb */ color: rgb(45, 29, 128);
/* oklch */ color: oklch(32.7% 0.155 280.8);
Tailwind
colors: {
  custom: {
    50: '#725ba6',
    500: '#2d1d80',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d80;
$custom-light: #725ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d80",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 249.697,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.15543,
    "h": 280.8
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#2D1D80
secondary
#A2B345
accent
#E642CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2D1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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