#1D3087#1D3087

#1D3087 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.147 H 268.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1D3087
RGBrgb(29, 48, 135)
HSLhsl(229, 65%, 32%)
HSVhsv(229, 79%, 53%)
CMYKcmyk(78.5%, 64.4%, 0%, 47.1%)
CIE-LABlab(24.08, 25.63, -50.70)
CIE-LCHlch(24.08, 56.81, 296.81°)
OKLaboklab(35.54% -0.0046 -0.1466)
OKLCHoklch(35.54% 0.147 268.2)
XYZxyz(5.9353, 4.1237, 23.4001)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3087 #87741D
analogous
#1D6587 #1D3087 #3F1D87
triadic
#1D3087 #871D30 #30871D
tetradic
#1D3087 #871D65 #87741D #1D873F
square
#1D3087 #871D65 #87741D #1D873F
split-complementary
#1D3087 #873F1D #65871D
monochromatic
#070C22 #121E55 #1D3087 #2842B9 #4761D7

Accessibility & contrast

On white

11.51
#1D3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3087
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3087#FFFFFF#000000##FFFFFF
##1D30871.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3087;
/* rgb */ color: rgb(29, 48, 135);
/* oklch */ color: oklch(35.5% 0.147 268.2);
Tailwind
colors: {
  custom: {
    50: '#6b68ab',
    500: '#1d3087',
    950: '#000000',
  },
}
SCSS
$custom: #1d3087;
$custom-light: #6b68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3087",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 229.245,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.14667,
    "h": 268.2
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#1D3087
secondary
#B9A546
accent
#CA40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3087

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

Preview Lab → · Contrast checker → · Palette generator →

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