#1D2E86#1D2E86

#1D2E86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.148 H 268.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1D2E86
RGBrgb(29, 46, 134)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 53%)
CMYKcmyk(78.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.46, 26.60, -51.09)
CIE-LCHlch(23.46, 57.60, 297.51°)
OKLaboklab(35.06% -0.0033 -0.1477)
OKLCHoklch(35.06% 0.148 268.7)
XYZxyz(5.7853, 3.9358, 23.0044)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E86 #86751D
analogous
#1D6386 #1D2E86 #411D86
triadic
#1D2E86 #861D2E #2E861D
tetradic
#1D2E86 #861D63 #86751D #1D8641
square
#1D2E86 #861D63 #86751D #1D8641
split-complementary
#1D2E86 #86411D #63861D
monochromatic
#070B21 #121D54 #1D2E86 #283FB8 #465ED7

Accessibility & contrast

On white

11.75
#1D2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E86
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E86#FFFFFF#000000##FFFFFF
##1D2E861.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2e86;
/* rgb */ color: rgb(29, 46, 134);
/* oklch */ color: oklch(35.1% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b66aa',
    500: '#1d2e86',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e86;
$custom-light: #6b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e86",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 230.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.14779,
    "h": 268.7
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#1D2E86
secondary
#B9A646
accent
#CC40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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