#2D1AA0#2D1AA0

#2D1AA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.197 H 276.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2D1AA0
RGBrgb(45, 26, 160)
HSLhsl(249, 72%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(71.9%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.11, 48.63, -67.69)
CIE-LCHlch(23.11, 83.35, 305.70°)
OKLaboklab(35.9% 0.0216 -0.1956)
OKLCHoklch(35.9% 0.197 276.3)
XYZxyz(7.7947, 3.8340, 33.5801)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1AA0 #8DA01A
analogous
#1A4AA0 #2D1AA0 #701AA0
triadic
#2D1AA0 #A02D1A #1AA02D
tetradic
#2D1AA0 #A01A4A #8DA01A #1AA070
square
#2D1AA0 #A01A4A #8DA01A #1AA070
split-complementary
#2D1AA0 #A0701A #4AA01A
monochromatic
#0F0937 #1E116B #2D1AA0 #3C23D5 #6652E3

Accessibility & contrast

On white

11.88
#2D1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1AA0
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1AA0#FFFFFF#000000##FFFFFF
##2D1AA01.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d1aa0;
/* rgb */ color: rgb(45, 26, 160);
/* oklch */ color: oklch(35.9% 0.197 276.3);
Tailwind
colors: {
  custom: {
    50: '#795cbd',
    500: '#2d1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2d1aa0;
$custom-light: #795cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1aa0",
  "rgb": {
    "r": 45,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 248.507,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35903,
    "c": 0.19679,
    "h": 276.3
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#2D1AA0
secondary
#B5C550
accent
#EF39D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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