#1D1FB1#1D1FB1

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

Color values

HEX#1D1FB1
RGBrgb(29, 31, 177)
HSLhsl(239, 72%, 40%)
HSVhsv(239, 84%, 69%)
CMYKcmyk(83.6%, 82.5%, 0%, 30.6%)
CIE-LABlab(25.00, 50.59, -74.87)
CIE-LCHlch(25.00, 90.36, 304.05°)
OKLaboklab(37.54% -0.0036 -0.2168)
OKLCHoklch(37.54% 0.217 269.1)
XYZxyz(8.9298, 4.4144, 41.9679)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1FB1 #B1AF1D
analogous
#1D69B1 #1D1FB1 #651DB1
triadic
#1D1FB1 #B11D1F #1FB11D
tetradic
#1D1FB1 #B11D69 #B1AF1D #1DB165
square
#1D1FB1 #B11D69 #B1AF1D #1DB165
split-complementary
#1D1FB1 #B1651D #69B11D
monochromatic
#0C0D48 #14167C #1D1FB1 #2E31DD #6365E5

Accessibility & contrast

On white

11.15
#1D1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1FB1
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1FB1#FFFFFF#000000##FFFFFF
##1D1FB11.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0033AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d1fb1;
/* rgb */ color: rgb(29, 31, 177);
/* oklch */ color: oklch(37.5% 0.217 269.1);
Tailwind
colors: {
  custom: {
    50: '#785fca',
    500: '#1d1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #1d1fb1;
$custom-light: #785fca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1fb1",
  "rgb": {
    "r": 29,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 239.189,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.21682,
    "h": 269.1
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#1D1FB1
secondary
#CAC960
accent
#EC39EF
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #1D1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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