#2D1D94#2D1D94

#2D1D94 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.180 H 277.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2D1D94
RGBrgb(45, 29, 148)
HSLhsl(248, 67%, 35%)
HSVhsv(248, 80%, 58%)
CMYKcmyk(69.6%, 80.4%, 0%, 42%)
CIE-LABlab(22.21, 43.53, -61.81)
CIE-LCHlch(22.21, 75.60, 305.15°)
OKLaboklab(34.87% 0.0238 -0.1786)
OKLCHoklch(34.87% 0.18 277.6)
XYZxyz(6.8651, 3.5741, 28.3393)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D94 #84941D
analogous
#1D4994 #2D1D94 #681D94
triadic
#2D1D94 #942D1D #1D942D
tetradic
#2D1D94 #941D49 #84941D #1D9468
square
#2D1D94 #941D49 #84941D #1D9468
split-complementary
#2D1D94 #94681D #49941D
monochromatic
#0E092E #1D1361 #2D1D94 #3D27C7 #624FDC

Accessibility & contrast

On white

12.24
#2D1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D94
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D94#FFFFFF#000000##FFFFFF
##2D1D941.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1d94;
/* rgb */ color: rgb(45, 29, 148);
/* oklch */ color: oklch(34.9% 0.180 277.6);
Tailwind
colors: {
  custom: {
    50: '#765db5',
    500: '#2d1d94',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d94;
$custom-light: #765db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d94",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 248.067,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3487,
    "c": 0.18018,
    "h": 277.6
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#2D1D94
secondary
#B0BF4E
accent
#EA3ED3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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