#1D2E87#1D2E87

#1D2E87 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.149 H 268.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1D2E87
RGBrgb(29, 46, 135)
HSLhsl(230, 65%, 32%)
HSVhsv(230, 79%, 53%)
CMYKcmyk(78.5%, 65.9%, 0%, 47.1%)
CIE-LABlab(23.55, 26.99, -51.56)
CIE-LCHlch(23.55, 58.20, 297.63°)
OKLaboklab(35.16% -0.0033 -0.1491)
OKLCHoklch(35.16% 0.149 268.7)
XYZxyz(5.8554, 3.9638, 23.3735)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E87 #87761D
analogous
#1D6387 #1D2E87 #411D87
triadic
#1D2E87 #871D2E #2E871D
tetradic
#1D2E87 #871D63 #87761D #1D8741
square
#1D2E87 #871D63 #87761D #1D8741
split-complementary
#1D2E87 #87411D #63871D
monochromatic
#070C22 #121D55 #1D2E87 #283FB9 #475ED7

Accessibility & contrast

On white

11.71
#1D2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E87
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E87#FFFFFF#000000##FFFFFF
##1D2E871.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2e87;
/* rgb */ color: rgb(29, 46, 135);
/* oklch */ color: oklch(35.2% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b66ab',
    500: '#1d2e87',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e87;
$custom-light: #6b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e87",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 230.377,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35158,
    "c": 0.14918,
    "h": 268.7
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#1D2E87
secondary
#B9A746
accent
#CD40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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