#2D1BB3#2D1BB3

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

Color values

HEX#2D1BB3
RGBrgb(45, 27, 179)
HSLhsl(247, 74%, 40%)
HSVhsv(247, 85%, 70%)
CMYKcmyk(74.9%, 84.9%, 0%, 29.8%)
CIE-LABlab(25.55, 53.83, -75.12)
CIE-LCHlch(25.55, 92.41, 305.62°)
OKLaboklab(38.24% 0.0156 -0.2172)
OKLCHoklch(38.24% 0.218 274.1)
XYZxyz(9.6081, 4.5954, 43.0197)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1BB3 #A1B31B
analogous
#1B55B3 #2D1BB3 #791BB3
triadic
#2D1BB3 #B32D1B #1BB32D
tetradic
#2D1BB3 #B31B55 #A1B31B #1BB379
square
#2D1BB3 #B31B55 #A1B31B #1BB379
split-complementary
#2D1BB3 #B3791B #55B31B
monochromatic
#120B49 #20137E #2D1BB3 #412CDF #7161E7

Accessibility & contrast

On white

10.94
#2D1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D1BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1BB3
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1BB3#FFFFFF#000000##FFFFFF
##2D1BB31.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1bb3;
/* rgb */ color: rgb(45, 27, 179);
/* oklch */ color: oklch(38.2% 0.218 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d5ecb',
    500: '#2d1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d1bb3;
$custom-light: #7d5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1bb3",
  "rgb": {
    "r": 45,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 247.105,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.21774,
    "h": 274.1
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#2D1BB3
secondary
#BFCC5E
accent
#F037DB
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2D1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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