#2D1EAA#2D1EAA

#2D1EAA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.205 H 274.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D1EAA
RGBrgb(45, 30, 170)
HSLhsl(246, 70%, 39%)
HSVhsv(246, 82%, 67%)
CMYKcmyk(73.5%, 82.4%, 0%, 33.3%)
CIE-LABlab(24.91, 49.84, -70.77)
CIE-LCHlch(24.91, 86.56, 305.16°)
OKLaboklab(37.49% 0.0172 -0.2046)
OKLCHoklch(37.49% 0.205 274.8)
XYZxyz(8.7998, 4.3878, 38.4056)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EAA #9BAA1E
analogous
#1E55AA #2D1EAA #731EAA
triadic
#2D1EAA #AA2D1E #1EAA2D
tetradic
#2D1EAA #AA1E55 #9BAA1E #1EAA73
square
#2D1EAA #AA1E55 #9BAA1E #1EAA73
split-complementary
#2D1EAA #AA731E #55AA1E
monochromatic
#110C42 #1F1576 #2D1EAA #3E2CDA #6E60E3

Accessibility & contrast

On white

11.18
#2D1EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D1EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1EAA
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EAA#FFFFFF#000000##FFFFFF
##2D1EAA1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d1eaa;
/* rgb */ color: rgb(45, 30, 170);
/* oklch */ color: oklch(37.5% 0.205 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fc5',
    500: '#2d1eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2d1eaa;
$custom-light: #7b5fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1eaa",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 246.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.20534,
    "h": 274.8
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#2D1EAA
secondary
#BCC75C
accent
#ED3BDA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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