#1D1BB1#1D1BB1

#1D1BB1 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.220 H 269.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1D1BB1
RGBrgb(29, 27, 177)
HSLhsl(241, 74%, 40%)
HSVhsv(241, 85%, 69%)
CMYKcmyk(83.6%, 84.7%, 0%, 30.6%)
CIE-LABlab(24.38, 52.41, -75.89)
CIE-LCHlch(24.38, 92.23, 304.63°)
OKLaboklab(37.11% -0.003 -0.2197)
OKLCHoklch(37.11% 0.22 269.2)
XYZxyz(8.8317, 4.2183, 41.9352)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1BB1 #AFB11B
analogous
#1B64B1 #1D1BB1 #681BB1
triadic
#1D1BB1 #B11D1B #1BB11D
tetradic
#1D1BB1 #B11B64 #AFB11B #1BB168
square
#1D1BB1 #B11B64 #AFB11B #1BB168
split-complementary
#1D1BB1 #B1681B #64B11B
monochromatic
#0C0B47 #14137C #1D1BB1 #2D2BDF #6260E7

Accessibility & contrast

On white

11.39
#1D1BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D1BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1BB1
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1BB1#FFFFFF#000000##FFFFFF
##1D1BB11.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B5
Deuteranopia (green-blind)
#0032AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d1bb1;
/* rgb */ color: rgb(29, 27, 177);
/* oklch */ color: oklch(37.1% 0.220 269.2);
Tailwind
colors: {
  custom: {
    50: '#785dca',
    500: '#1d1bb1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1bb1;
$custom-light: #785dca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1bb1",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 177
  },
  "hsl": {
    "h": 240.8,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.21969,
    "h": 269.2
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#1D1BB1
secondary
#CACB5D
accent
#F038EE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #1D1BB1

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

Preview Lab → · Contrast checker → · Palette generator →

#1D1BB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva