#1D1883#1D1883

#1D1883 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.168 H 272.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D1883
RGBrgb(29, 24, 131)
HSLhsl(243, 69%, 30%)
HSVhsv(243, 82%, 51%)
CMYKcmyk(77.9%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.16, 39.23, -57.94)
CIE-LCHlch(18.16, 69.97, 304.10°)
OKLaboklab(31.16% 0.0083 -0.1676)
OKLCHoklch(31.16% 0.168 272.8)
XYZxyz(4.9287, 2.5527, 21.7013)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1883 #7E8318
analogous
#184883 #1D1883 #531883
triadic
#1D1883 #831D18 #18831D
tetradic
#1D1883 #831848 #7E8318 #188353
square
#1D1883 #831848 #7E8318 #188353
split-complementary
#1D1883 #835318 #488318
monochromatic
#06051C #120F4F #1D1883 #2821B7 #423ADB

Accessibility & contrast

On white

13.90
#1D1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1883
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1883#FFFFFF#000000##FFFFFF
##1D18831.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1883;
/* rgb */ color: rgb(29, 24, 131);
/* oklch */ color: oklch(31.2% 0.168 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c58a8',
    500: '#1d1883',
    950: '#000000',
  },
}
SCSS
$custom: #1d1883;
$custom-light: #6c58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1883",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 242.804,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31156,
    "c": 0.16786,
    "h": 272.8
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#1D1883
secondary
#B1B740
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1883

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

Preview Lab → · Contrast checker → · Palette generator →

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