#1D3D92#1D3D92

#1D3D92 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.145 H 264.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1D3D92
RGBrgb(29, 61, 146)
HSLhsl(224, 67%, 34%)
HSVhsv(224, 80%, 57%)
CMYKcmyk(80.1%, 58.2%, 0%, 42.7%)
CIE-LABlab(28.57, 21.01, -50.18)
CIE-LCHlch(28.57, 54.40, 292.72°)
OKLaboklab(39.19% -0.0133 -0.1449)
OKLCHoklch(39.19% 0.145 264.8)
XYZxyz(7.3619, 5.6732, 27.8956)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D92 #92721D
analogous
#1D7892 #1D3D92 #381D92
triadic
#1D3D92 #921D3D #3D921D
tetradic
#1D3D92 #921D78 #92721D #1D9238
square
#1D3D92 #921D78 #92721D #1D9238
split-complementary
#1D3D92 #92381D #78921D
monochromatic
#09122C #13285F #1D3D92 #2752C5 #4E75DC

Accessibility & contrast

On white

9.84
#1D3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D3D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D92
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D92#FFFFFF#000000##FFFFFF
##1D3D921.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3d92;
/* rgb */ color: rgb(29, 61, 146);
/* oklch */ color: oklch(39.2% 0.145 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d72b3',
    500: '#1d3d92',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d92;
$custom-light: #6d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d92",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 223.59,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.14548,
    "h": 264.8
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#1D3D92
secondary
#BE9F4C
accent
#BB3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3D92

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

Preview Lab → · Contrast checker → · Palette generator →

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