#1D3183#1D3183

#1D3183 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.140 H 267.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1D3183
RGBrgb(29, 49, 131)
HSLhsl(228, 64%, 31%)
HSVhsv(228, 78%, 51%)
CMYKcmyk(77.9%, 62.6%, 0%, 48.6%)
CIE-LABlab(23.99, 23.36, -48.34)
CIE-LCHlch(23.99, 53.69, 295.79°)
OKLaboklab(35.37% -0.0052 -0.1397)
OKLCHoklch(35.37% 0.14 267.9)
XYZxyz(5.7003, 4.0959, 21.9585)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3183 #836F1D
analogous
#1D6483 #1D3183 #3C1D83
triadic
#1D3183 #831D31 #31831D
tetradic
#1D3183 #831D64 #836F1D #1D833C
square
#1D3183 #831D64 #836F1D #1D833C
split-complementary
#1D3183 #833C1D #64831D
monochromatic
#070C1F #121E51 #1D3183 #2844B5 #4561D6

Accessibility & contrast

On white

11.54
#1D3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3183
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3183#FFFFFF#000000##FFFFFF
##1D31831.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3183;
/* rgb */ color: rgb(29, 49, 131);
/* oklch */ color: oklch(35.4% 0.140 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a68a8',
    500: '#1d3183',
    950: '#000000',
  },
}
SCSS
$custom: #1d3183;
$custom-light: #6a68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3183",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 228.235,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.13978,
    "h": 267.9
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#1D3183
secondary
#B6A046
accent
#C641E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D3183

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

Preview Lab → · Contrast checker → · Palette generator →

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