#1D3283#1D3283

#1D3283 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.138 H 267.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1D3283
RGBrgb(29, 50, 131)
HSLhsl(228, 64%, 31%)
HSVhsv(228, 78%, 51%)
CMYKcmyk(77.9%, 61.8%, 0%, 48.6%)
CIE-LABlab(24.26, 22.67, -47.90)
CIE-LCHlch(24.26, 52.99, 295.32°)
OKLaboklab(35.57% -0.006 -0.1383)
OKLCHoklch(35.57% 0.138 267.5)
XYZxyz(5.7426, 4.1805, 21.9726)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3283 #836E1D
analogous
#1D6583 #1D3283 #3B1D83
triadic
#1D3283 #831D32 #32831D
tetradic
#1D3283 #831D65 #836E1D #1D833B
square
#1D3283 #831D65 #836E1D #1D833B
split-complementary
#1D3283 #833B1D #65831D
monochromatic
#070C1F #121F51 #1D3283 #2845B5 #4563D6

Accessibility & contrast

On white

11.44
#1D3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3283
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3283#FFFFFF#000000##FFFFFF
##1D32831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d3283;
/* rgb */ color: rgb(29, 50, 131);
/* oklch */ color: oklch(35.6% 0.138 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a69a8',
    500: '#1d3283',
    950: '#000000',
  },
}
SCSS
$custom: #1d3283;
$custom-light: #6a69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3283",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 227.647,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.13848,
    "h": 267.5
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#1D3283
secondary
#B69F46
accent
#C541E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D3283

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

Preview Lab → · Contrast checker → · Palette generator →

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