#2D1CA7#2D1CA7

#2D1CA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.203 H 275.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2D1CA7
RGBrgb(45, 28, 167)
HSLhsl(247, 71%, 38%)
HSVhsv(247, 83%, 65%)
CMYKcmyk(73.1%, 83.2%, 0%, 34.5%)
CIE-LABlab(24.25, 49.84, -70.06)
CIE-LCHlch(24.25, 85.98, 305.43°)
OKLaboklab(36.93% 0.0188 -0.2025)
OKLCHoklch(36.93% 0.203 275.3)
XYZxyz(8.4702, 4.1776, 36.9117)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CA7 #96A71C
analogous
#1C50A7 #2D1CA7 #721CA7
triadic
#2D1CA7 #A72D1C #1CA72D
tetradic
#2D1CA7 #A71C50 #96A71C #1CA772
square
#2D1CA7 #A71C50 #96A71C #1CA772
split-complementary
#2D1CA7 #A7721C #50A71C
monochromatic
#110A3E #1F1373 #2D1CA7 #3C26DB #6B5AE3

Accessibility & contrast

On white

11.44
#2D1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1CA7
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CA7#FFFFFF#000000##FFFFFF
##2D1CA71.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d1ca7;
/* rgb */ color: rgb(45, 28, 167);
/* oklch */ color: oklch(36.9% 0.203 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b5dc3',
    500: '#2d1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ca7;
$custom-light: #7b5dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ca7",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 247.338,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.20339,
    "h": 275.3
  },
  "luminance": 0.04178
}

Semantic roles & 50–950 ramp

primary
#2D1CA7
secondary
#B9C758
accent
#EE3AD8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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