#1D2383#1D2383

#1D2383 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.157 H 271.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1D2383
RGBrgb(29, 35, 131)
HSLhsl(236, 64%, 31%)
HSVhsv(236, 78%, 51%)
CMYKcmyk(77.9%, 73.3%, 0%, 48.6%)
CIE-LABlab(20.45, 32.76, -54.15)
CIE-LCHlch(20.45, 63.29, 301.17°)
OKLaboklab(32.78% 0.0034 -0.1567)
OKLCHoklch(32.78% 0.157 271.3)
XYZxyz(5.2031, 3.1014, 21.7927)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2383 #837D1D
analogous
#1D5683 #1D2383 #4A1D83
triadic
#1D2383 #831D23 #23831D
tetradic
#1D2383 #831D56 #837D1D #1D834A
square
#1D2383 #831D56 #837D1D #1D834A
split-complementary
#1D2383 #834A1D #56831D
monochromatic
#07081F #121651 #1D2383 #2830B5 #454DD6

Accessibility & contrast

On white

12.96
#1D2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2383
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2383#FFFFFF#000000##FFFFFF
##1D23831.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2383;
/* rgb */ color: rgb(29, 35, 131);
/* oklch */ color: oklch(32.8% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b5ea8',
    500: '#1d2383',
    950: '#000000',
  },
}
SCSS
$custom: #1d2383;
$custom-light: #6b5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2383",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 236.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.15679,
    "h": 271.3
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#1D2383
secondary
#B6AF46
accent
#DD41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2383

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

Preview Lab → · Contrast checker → · Palette generator →

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