#2D1E9A#2D1E9A

#2D1E9A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.187 H 276.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2D1E9A
RGBrgb(45, 30, 154)
HSLhsl(247, 67%, 36%)
HSVhsv(247, 81%, 60%)
CMYKcmyk(70.8%, 80.5%, 0%, 39.6%)
CIE-LABlab(23.06, 44.91, -64.10)
CIE-LCHlch(23.06, 78.26, 305.01°)
OKLaboklab(35.66% 0.0217 -0.1853)
OKLCHoklch(35.66% 0.187 276.7)
XYZxyz(7.3773, 3.8189, 30.9139)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E9A #8B9A1E
analogous
#1E4D9A #2D1E9A #6B1E9A
triadic
#2D1E9A #9A2D1E #1E9A2D
tetradic
#2D1E9A #9A1E4D #8B9A1E #1E9A6B
square
#2D1E9A #9A1E4D #8B9A1E #1E9A6B
split-complementary
#2D1E9A #9A6B1E #4D9A1E
monochromatic
#0F0A34 #1E1467 #2D1E9A #3C28CD #6555DE

Accessibility & contrast

On white

11.90
#2D1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1E9A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E9A#FFFFFF#000000##FFFFFF
##2D1E9A1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1e9a;
/* rgb */ color: rgb(45, 30, 154);
/* oklch */ color: oklch(35.7% 0.187 276.7);
Tailwind
colors: {
  custom: {
    50: '#775eb9',
    500: '#2d1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e9a;
$custom-light: #775eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e9a",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 247.258,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.18652,
    "h": 276.7
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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