#1D1B85#1D1B85

#1D1B85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.168 H 272.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1D1B85
RGBrgb(29, 27, 133)
HSLhsl(241, 66%, 31%)
HSVhsv(241, 80%, 52%)
CMYKcmyk(78.2%, 79.7%, 0%, 47.8%)
CIE-LABlab(18.96, 38.27, -57.86)
CIE-LCHlch(18.96, 69.37, 303.48°)
OKLaboklab(31.79% 0.0067 -0.1675)
OKLCHoklch(31.79% 0.168 272.3)
XYZxyz(5.1308, 2.7380, 22.4438)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B85 #83851B
analogous
#1B4E85 #1D1B85 #521B85
triadic
#1D1B85 #851D1B #1B851D
tetradic
#1D1B85 #851B4E #83851B #1B8552
square
#1D1B85 #851B4E #83851B #1B8552
split-complementary
#1D1B85 #85521B #4E851B
monochromatic
#07061F #121152 #1D1B85 #2825B8 #4542D9

Accessibility & contrast

On white

13.57
#1D1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B85
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B85#FFFFFF#000000##FFFFFF
##1D1B851.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1b85;
/* rgb */ color: rgb(29, 27, 133);
/* oklch */ color: oklch(31.8% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d59aa',
    500: '#1d1b85',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b85;
$custom-light: #6d59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b85",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 241.132,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.16761,
    "h": 272.3
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#1D1B85
secondary
#B6B844
accent
#E93FE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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