#1D1BB4#1D1BB4

#1D1BB4 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.5% C 0.223 H 269.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1D1BB4
RGBrgb(29, 27, 180)
HSLhsl(241, 74%, 41%)
HSVhsv(241, 85%, 71%)
CMYKcmyk(83.9%, 85%, 0%, 29.4%)
CIE-LABlab(24.76, 53.32, -77.05)
CIE-LCHlch(24.76, 93.70, 304.68°)
OKLaboklab(37.49% -0.0036 -0.223)
OKLCHoklch(37.49% 0.223 269.1)
XYZxyz(9.1340, 4.3393, 43.5273)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1BB4 #B2B41B
analogous
#1B66B4 #1D1BB4 #691BB4
triadic
#1D1BB4 #B41D1B #1BB41D
tetradic
#1D1BB4 #B41B66 #B2B41B #1BB469
square
#1D1BB4 #B41B66 #B2B41B #1BB469
split-complementary
#1D1BB4 #B4691B #66B41B
monochromatic
#0C0B4A #14137F #1D1BB4 #2F2DDF #6462E7

Accessibility & contrast

On white

11.24
#1D1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1BB4
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1BB4#FFFFFF#000000##FFFFFF
##1D1BB41.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0032B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d1bb4;
/* rgb */ color: rgb(29, 27, 180);
/* oklch */ color: oklch(37.5% 0.223 269.1);
Tailwind
colors: {
  custom: {
    50: '#795dcc',
    500: '#1d1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1d1bb4;
$custom-light: #795dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1bb4",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 240.784,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37486,
    "c": 0.22305,
    "h": 269.1
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#1D1BB4
secondary
#CBCC5F
accent
#F137EE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1D1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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