#2D1E99#2D1E99

#2D1E99 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.185 H 276.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2D1E99
RGBrgb(45, 30, 153)
HSLhsl(247, 67%, 36%)
HSVhsv(247, 80%, 60%)
CMYKcmyk(70.6%, 80.4%, 0%, 40%)
CIE-LABlab(22.95, 44.59, -63.67)
CIE-LCHlch(22.95, 77.74, 305.01°)
OKLaboklab(35.55% 0.0219 -0.184)
OKLCHoklch(35.55% 0.185 276.8)
XYZxyz(7.2944, 3.7857, 30.4771)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E99 #8A991E
analogous
#1E4C99 #2D1E99 #6A1E99
triadic
#2D1E99 #992D1E #1E992D
tetradic
#2D1E99 #991E4C #8A991E #1E996A
square
#2D1E99 #991E4C #8A991E #1E996A
split-complementary
#2D1E99 #996A1E #4C991E
monochromatic
#0F0A33 #1E1466 #2D1E99 #3C28CC #6554DD

Accessibility & contrast

On white

11.95
#2D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E99
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E99#FFFFFF#000000##FFFFFF
##2D1E991.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d1e99;
/* rgb */ color: rgb(45, 30, 153);
/* oklch */ color: oklch(35.6% 0.185 276.8);
Tailwind
colors: {
  custom: {
    50: '#775db8',
    500: '#2d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e99;
$custom-light: #775db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e99",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 247.317,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.18532,
    "h": 276.8
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#2D1E99
secondary
#B3C152
accent
#EA3ED5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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