#2D2280#2D2280

#2D2280 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.150 H 279.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2D2280
RGBrgb(45, 34, 128)
HSLhsl(247, 58%, 32%)
HSVhsv(247, 73%, 50%)
CMYKcmyk(64.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(21.06, 34.24, -51.21)
CIE-LCHlch(21.06, 61.61, 303.77°)
OKLaboklab(33.42% 0.0255 -0.1477)
OKLCHoklch(33.42% 0.15 279.8)
XYZxyz(5.5493, 3.2600, 20.7547)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2280 #758022
analogous
#224680 #2D2280 #5C2280
triadic
#2D2280 #802D22 #22802D
tetradic
#2D2280 #802246 #758022 #22805C
square
#2D2280 #802246 #758022 #22805C
split-complementary
#2D2280 #805C22 #468022
monochromatic
#0B081F #1C1550 #2D2280 #3E2FB0 #5C4DD0

Accessibility & contrast

On white

12.71
#2D2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2280
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2280#FFFFFF#000000##FFFFFF
##2D22801.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2280;
/* rgb */ color: rgb(45, 34, 128);
/* oklch */ color: oklch(33.4% 0.150 279.8);
Tailwind
colors: {
  custom: {
    50: '#715ea6',
    500: '#2d2280',
    950: '#000000',
  },
}
SCSS
$custom: #2d2280;
$custom-light: #715ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2280",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 247.021,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33421,
    "c": 0.14991,
    "h": 279.8
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#2D2280
secondary
#A6B24B
accent
#E147CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2D2280

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

Preview Lab → · Contrast checker → · Palette generator →

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