#2D1E94#2D1E94

#2D1E94 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.179 H 277.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2D1E94
RGBrgb(45, 30, 148)
HSLhsl(248, 66%, 35%)
HSVhsv(248, 80%, 58%)
CMYKcmyk(69.6%, 79.7%, 0%, 42%)
CIE-LABlab(22.39, 43.02, -61.52)
CIE-LCHlch(22.39, 75.07, 304.96°)
OKLaboklab(34.99% 0.0233 -0.1778)
OKLCHoklch(34.99% 0.179 277.5)
XYZxyz(6.8900, 3.6239, 28.3476)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E94 #85941E
analogous
#1E4A94 #2D1E94 #681E94
triadic
#2D1E94 #942D1E #1E942D
tetradic
#2D1E94 #941E4A #85941E #1E9468
square
#2D1E94 #941E4A #85941E #1E9468
split-complementary
#2D1E94 #94681E #4A941E
monochromatic
#0E092E #1E1461 #2D1E94 #3C28C7 #6251DC

Accessibility & contrast

On white

12.17
#2D1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E94
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E94#FFFFFF#000000##FFFFFF
##2D1E941.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d1e94;
/* rgb */ color: rgb(45, 30, 148);
/* oklch */ color: oklch(35.0% 0.179 277.5);
Tailwind
colors: {
  custom: {
    50: '#765db5',
    500: '#2d1e94',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e94;
$custom-light: #765db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e94",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 247.627,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34994,
    "c": 0.17929,
    "h": 277.5
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#2D1E94
secondary
#B0BF4F
accent
#E93FD4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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