#2D1CA0#2D1CA0

#2D1CA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.195 H 276.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2D1CA0
RGBrgb(45, 28, 160)
HSLhsl(248, 70%, 37%)
HSVhsv(248, 83%, 63%)
CMYKcmyk(71.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.42, 47.72, -67.17)
CIE-LCHlch(23.42, 82.40, 305.39°)
OKLaboklab(36.12% 0.0208 -0.1942)
OKLCHoklch(36.12% 0.195 276.1)
XYZxyz(7.8405, 3.9257, 33.5954)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CA0 #8FA01C
analogous
#1C4DA0 #2D1CA0 #6F1CA0
triadic
#2D1CA0 #A02D1C #1CA02D
tetradic
#2D1CA0 #A01C4D #8FA01C #1CA06F
square
#2D1CA0 #A01C4D #8FA01C #1CA06F
split-complementary
#2D1CA0 #A06F1C #4DA01C
monochromatic
#100A38 #1E136C #2D1CA0 #3C25D4 #6755E1

Accessibility & contrast

On white

11.76
#2D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1CA0
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CA0#FFFFFF#000000##FFFFFF
##2D1CA01.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d1ca0;
/* rgb */ color: rgb(45, 28, 160);
/* oklch */ color: oklch(36.1% 0.195 276.1);
Tailwind
colors: {
  custom: {
    50: '#795dbd',
    500: '#2d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ca0;
$custom-light: #795dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ca0",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 247.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36117,
    "c": 0.19527,
    "h": 276.1
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#2D1CA0
secondary
#B6C453
accent
#ED3BD6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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