#2D2084#2D2084

#2D2084 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.157 H 279.6°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2084
RGBrgb(45, 32, 132)
HSLhsl(248, 61%, 32%)
HSVhsv(248, 76%, 52%)
CMYKcmyk(65.9%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.04, 36.75, -53.76)
CIE-LCHlch(21.04, 65.12, 304.36°)
OKLaboklab(33.53% 0.0261 -0.1552)
OKLCHoklch(33.53% 0.157 279.6)
XYZxyz(5.7622, 3.2564, 22.1502)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2084 #778420
analogous
#204584 #2D2084 #5F2084
triadic
#2D2084 #842D20 #20842D
tetradic
#2D2084 #842045 #778420 #20845F
square
#2D2084 #842045 #778420 #20845F
split-complementary
#2D2084 #845F20 #458420
monochromatic
#0B0821 #1C1453 #2D2084 #3E2CB5 #5D4BD3

Accessibility & contrast

On white

12.72
#2D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2084
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2084#FFFFFF#000000##FFFFFF
##2D20841.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2084;
/* rgb */ color: rgb(45, 32, 132);
/* oklch */ color: oklch(33.5% 0.157 279.6);
Tailwind
colors: {
  custom: {
    50: '#725da9',
    500: '#2d2084',
    950: '#000000',
  },
}
SCSS
$custom: #2d2084;
$custom-light: #725da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2084",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 247.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.15735,
    "h": 279.6
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#2D2084
secondary
#A8B64A
accent
#E444CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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