#2D2083#2D2083

#2D2083 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.156 H 279.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2D2083
RGBrgb(45, 32, 131)
HSLhsl(248, 61%, 32%)
HSVhsv(248, 76%, 51%)
CMYKcmyk(65.6%, 75.6%, 0%, 48.6%)
CIE-LABlab(20.94, 36.42, -53.30)
CIE-LCHlch(20.94, 64.56, 304.35°)
OKLaboklab(33.43% 0.0264 -0.1538)
OKLCHoklch(33.43% 0.156 279.7)
XYZxyz(5.6941, 3.2292, 21.7916)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2083 #768320
analogous
#204583 #2D2083 #5F2083
triadic
#2D2083 #832D20 #20832D
tetradic
#2D2083 #832045 #768320 #20835F
square
#2D2083 #832045 #768320 #20835F
split-complementary
#2D2083 #835F20 #458320
monochromatic
#0B0821 #1C1452 #2D2083 #3E2CB4 #5C4AD3

Accessibility & contrast

On white

12.76
#2D2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2083
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2083#FFFFFF#000000##FFFFFF
##2D20831.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2083;
/* rgb */ color: rgb(45, 32, 131);
/* oklch */ color: oklch(33.4% 0.156 279.7);
Tailwind
colors: {
  custom: {
    50: '#725da8',
    500: '#2d2083',
    950: '#000000',
  },
}
SCSS
$custom: #2d2083;
$custom-light: #725da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2083",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 247.879,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.15605,
    "h": 279.7
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2083

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

Preview Lab → · Contrast checker → · Palette generator →

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