#2D1EAC#2D1EAC

#2D1EAC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.208 H 274.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2D1EAC
RGBrgb(45, 30, 172)
HSLhsl(246, 70%, 40%)
HSVhsv(246, 83%, 67%)
CMYKcmyk(73.8%, 82.6%, 0%, 32.5%)
CIE-LABlab(25.15, 50.45, -71.58)
CIE-LCHlch(25.15, 87.57, 305.17°)
OKLaboklab(37.72% 0.0167 -0.207)
OKLCHoklch(37.72% 0.208 274.6)
XYZxyz(8.9904, 4.4641, 39.4096)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EAC #9DAC1E
analogous
#1E56AC #2D1EAC #741EAC
triadic
#2D1EAC #AC2D1E #1EAC2D
tetradic
#2D1EAC #AC1E56 #9DAC1E #1EAC74
square
#2D1EAC #AC1E56 #9DAC1E #1EAC74
split-complementary
#2D1EAC #AC741E #56AC1E
monochromatic
#120C44 #1F1578 #2D1EAC #3F2DDA #6F61E3

Accessibility & contrast

On white

11.09
#2D1EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D1EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1EAC
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EAC#FFFFFF#000000##FFFFFF
##2D1EAC1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d1eac;
/* rgb */ color: rgb(45, 30, 172);
/* oklch */ color: oklch(37.7% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c5fc6',
    500: '#2d1eac',
    950: '#000000',
  },
}
SCSS
$custom: #2d1eac;
$custom-light: #7c5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1eac",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 246.338,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.20765,
    "h": 274.6
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D1EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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