#1D3383#1D3383

#1D3383 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.137 H 267.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1D3383
RGBrgb(29, 51, 131)
HSLhsl(227, 64%, 31%)
HSVhsv(227, 78%, 51%)
CMYKcmyk(77.9%, 61.1%, 0%, 48.6%)
CIE-LABlab(24.53, 21.97, -47.45)
CIE-LCHlch(24.53, 52.29, 294.84°)
OKLaboklab(35.78% -0.0067 -0.137)
OKLCHoklch(35.78% 0.137 267.2)
XYZxyz(5.7858, 4.2669, 21.9870)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3383 #836D1D
analogous
#1D6683 #1D3383 #3A1D83
triadic
#1D3383 #831D33 #33831D
tetradic
#1D3383 #831D66 #836D1D #1D833A
square
#1D3383 #831D66 #836D1D #1D833A
split-complementary
#1D3383 #833A1D #66831D
monochromatic
#070C1F #121F51 #1D3383 #2847B5 #4564D6

Accessibility & contrast

On white

11.33
#1D3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3383
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3383#FFFFFF#000000##FFFFFF
##1D33831.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3383;
/* rgb */ color: rgb(29, 51, 131);
/* oklch */ color: oklch(35.8% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6aa8',
    500: '#1d3383',
    950: '#000000',
  },
}
SCSS
$custom: #1d3383;
$custom-light: #6a6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3383",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 227.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.13718,
    "h": 267.2
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#1D3383
secondary
#B69E46
accent
#C341E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D3383

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

Preview Lab → · Contrast checker → · Palette generator →

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