#1D3892#1D3892

#1D3892 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.152 H 266.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1D3892
RGBrgb(29, 56, 146)
HSLhsl(226, 67%, 34%)
HSVhsv(226, 80%, 57%)
CMYKcmyk(80.1%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.20, 24.45, -52.42)
CIE-LCHlch(27.20, 57.84, 295.01°)
OKLaboklab(38.16% -0.0099 -0.1515)
OKLCHoklch(38.16% 0.152 266.3)
XYZxyz(7.1074, 5.1641, 27.8107)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3892 #92771D
analogous
#1D7392 #1D3892 #3D1D92
triadic
#1D3892 #921D38 #38921D
tetradic
#1D3892 #921D73 #92771D #1D923D
square
#1D3892 #921D73 #92771D #1D923D
split-complementary
#1D3892 #923D1D #73921D
monochromatic
#09112C #13245F #1D3892 #274CC5 #4E6EDC

Accessibility & contrast

On white

10.33
#1D3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3892
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3892#FFFFFF#000000##FFFFFF
##1D38921.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3892;
/* rgb */ color: rgb(29, 56, 146);
/* oklch */ color: oklch(38.2% 0.152 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d6eb3',
    500: '#1d3892',
    950: '#000000',
  },
}
SCSS
$custom: #1d3892;
$custom-light: #6d6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3892",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 226.154,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.15185,
    "h": 266.3
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#1D3892
secondary
#BEA44C
accent
#C23EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3892

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

Preview Lab → · Contrast checker → · Palette generator →

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