#2D1E91#2D1E91

#2D1E91 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.176 H 277.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2D1E91
RGBrgb(45, 30, 145)
HSLhsl(248, 66%, 34%)
HSVhsv(248, 79%, 57%)
CMYKcmyk(69%, 79.3%, 0%, 43.1%)
CIE-LABlab(22.05, 42.07, -60.22)
CIE-LCHlch(22.05, 73.45, 304.94°)
OKLaboklab(34.66% 0.0241 -0.174)
OKLCHoklch(34.66% 0.176 277.9)
XYZxyz(6.6556, 3.5302, 27.1132)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E91 #82911E
analogous
#1E4991 #2D1E91 #671E91
triadic
#2D1E91 #912D1E #1E912D
tetradic
#2D1E91 #911E49 #82911E #1E9167
square
#2D1E91 #911E49 #82911E #1E9167
split-complementary
#2D1E91 #91671E #49911E
monochromatic
#0E092C #1D145E #2D1E91 #3D28C4 #614FDB

Accessibility & contrast

On white

12.31
#2D1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E91
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E91#FFFFFF#000000##FFFFFF
##2D1E911.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d1e91;
/* rgb */ color: rgb(45, 30, 145);
/* oklch */ color: oklch(34.7% 0.176 277.9);
Tailwind
colors: {
  custom: {
    50: '#755db2',
    500: '#2d1e91',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e91;
$custom-light: #755db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e91",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 247.826,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.17563,
    "h": 277.9
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2D1E91
secondary
#AFBD4D
accent
#E93FD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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