#2D1C85#2D1C85

#2D1C85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 280.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2D1C85
RGBrgb(45, 28, 133)
HSLhsl(250, 65%, 32%)
HSVhsv(250, 79%, 52%)
CMYKcmyk(66.2%, 78.9%, 0%, 47.8%)
CIE-LABlab(20.37, 39.30, -55.50)
CIE-LCHlch(20.37, 68.01, 305.30°)
OKLaboklab(33.09% 0.0285 -0.1602)
OKLCHoklch(33.09% 0.163 280.1)
XYZxyz(5.7297, 3.0814, 22.4786)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C85 #74851C
analogous
#1C4085 #2D1C85 #621C85
triadic
#2D1C85 #852D1C #1C852D
tetradic
#2D1C85 #851C40 #74851C #1C8562
square
#2D1C85 #851C40 #74851C #1C8562
split-complementary
#2D1C85 #85621C #40851C
monochromatic
#0B0720 #1C1152 #2D1C85 #3E27B8 #5C44D8

Accessibility & contrast

On white

12.99
#2D1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C85
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C85#FFFFFF#000000##FFFFFF
##2D1C851.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1c85;
/* rgb */ color: rgb(45, 28, 133);
/* oklch */ color: oklch(33.1% 0.163 280.1);
Tailwind
colors: {
  custom: {
    50: '#735baa',
    500: '#2d1c85',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c85;
$custom-light: #735baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c85",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 249.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.16273,
    "h": 280.1
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#2D1C85
secondary
#A5B845
accent
#E840CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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