#2D2081#2D2081

#2D2081 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.153 H 280.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2D2081
RGBrgb(45, 32, 129)
HSLhsl(248, 60%, 32%)
HSVhsv(248, 75%, 51%)
CMYKcmyk(65.1%, 75.2%, 0%, 49.4%)
CIE-LABlab(20.73, 35.76, -52.37)
CIE-LCHlch(20.73, 63.42, 304.32°)
OKLaboklab(33.22% 0.0268 -0.1511)
OKLCHoklch(33.22% 0.153 280.1)
XYZxyz(5.5599, 3.1755, 21.0846)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2081 #748120
analogous
#204481 #2D2081 #5E2081
triadic
#2D2081 #812D20 #20812D
tetradic
#2D2081 #812044 #748120 #20815E
square
#2D2081 #812044 #748120 #20815E
split-complementary
#2D2081 #815E20 #448120
monochromatic
#0B081F #1C1450 #2D2081 #3E2CB2 #5C49D2

Accessibility & contrast

On white

12.84
#2D2081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D2081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2081
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2081#FFFFFF#000000##FFFFFF
##2D20811.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2081;
/* rgb */ color: rgb(45, 32, 129);
/* oklch */ color: oklch(33.2% 0.153 280.1);
Tailwind
colors: {
  custom: {
    50: '#725da7',
    500: '#2d2081',
    950: '#000000',
  },
}
SCSS
$custom: #2d2081;
$custom-light: #725da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2081",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 248.041,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33221,
    "c": 0.15347,
    "h": 280.1
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#2D2081
secondary
#A5B449
accent
#E344CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2D2081

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

Preview Lab → · Contrast checker → · Palette generator →

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