#2D1EB3#2D1EB3

#2D1EB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.216 H 273.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2D1EB3
RGBrgb(45, 30, 179)
HSLhsl(246, 71%, 41%)
HSVhsv(246, 83%, 70%)
CMYKcmyk(74.9%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.98, 52.55, -74.40)
CIE-LCHlch(25.98, 91.09, 305.23°)
OKLaboklab(38.53% 0.0148 -0.2152)
OKLCHoklch(38.53% 0.216 273.9)
XYZxyz(9.6804, 4.7401, 43.0438)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1EB3 #A4B31E
analogous
#1E59B3 #2D1EB3 #771EB3
triadic
#2D1EB3 #B32D1E #1EB32D
tetradic
#2D1EB3 #B31E59 #A4B31E #1EB377
square
#2D1EB3 #B31E59 #A4B31E #1EB377
split-complementary
#2D1EB3 #B3771E #59B31E
monochromatic
#130C4A #20157F #2D1EB3 #4332DD #7366E5

Accessibility & contrast

On white

10.78
#2D1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1EB3
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1EB3#FFFFFF#000000##FFFFFF
##2D1EB31.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d1eb3;
/* rgb */ color: rgb(45, 30, 179);
/* oklch */ color: oklch(38.5% 0.216 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fcb',
    500: '#2d1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d1eb3;
$custom-light: #7d5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1eb3",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 246.04,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.21566,
    "h": 273.9
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#2D1EB3
secondary
#C0CB62
accent
#EE3ADC
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2D1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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