#2D1AB3#2D1AB3

#2D1AB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.218 H 274.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2D1AB3
RGBrgb(45, 26, 179)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 85%, 70%)
CMYKcmyk(74.9%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.41, 54.23, -75.35)
CIE-LCHlch(25.41, 92.83, 305.74°)
OKLaboklab(38.14% 0.0159 -0.2178)
OKLCHoklch(38.14% 0.218 274.2)
XYZxyz(9.5856, 4.5504, 43.0122)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1AB3 #A0B31A
analogous
#1A53B3 #2D1AB3 #791AB3
triadic
#2D1AB3 #B32D1A #1AB32D
tetradic
#2D1AB3 #B31A53 #A0B31A #1AB379
square
#2D1AB3 #B31A53 #A0B31A #1AB379
split-complementary
#2D1AB3 #B3791A #53B31A
monochromatic
#120A48 #20127E #2D1AB3 #412AE0 #7060E8

Accessibility & contrast

On white

10.99
#2D1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1AB3
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1AB3#FFFFFF#000000##FFFFFF
##2D1AB31.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d1ab3;
/* rgb */ color: rgb(45, 26, 179);
/* oklch */ color: oklch(38.1% 0.218 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e5dcb',
    500: '#2d1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ab3;
$custom-light: #7e5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ab3",
  "rgb": {
    "r": 45,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 247.451,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.21839,
    "h": 274.2
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2D1AB3
secondary
#BECC5D
accent
#F137DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2D1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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