#1D2A86#1D2A86

#1D2A86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.153 H 269.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1D2A86
RGBrgb(29, 42, 134)
HSLhsl(233, 64%, 32%)
HSVhsv(233, 78%, 53%)
CMYKcmyk(78.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.44, 29.31, -52.76)
CIE-LCHlch(22.44, 60.36, 299.05°)
OKLaboklab(34.31% -0.0008 -0.1527)
OKLCHoklch(34.31% 0.153 269.7)
XYZxyz(5.6363, 3.6378, 22.9547)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A86 #86791D
analogous
#1D5F86 #1D2A86 #441D86
triadic
#1D2A86 #861D2A #2A861D
tetradic
#1D2A86 #861D5F #86791D #1D8644
square
#1D2A86 #861D5F #86791D #1D8644
split-complementary
#1D2A86 #86441D #5F861D
monochromatic
#070A21 #121A54 #1D2A86 #283AB8 #4658D7

Accessibility & contrast

On white

12.16
#1D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A86
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A86#FFFFFF#000000##FFFFFF
##1D2A861.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2a86;
/* rgb */ color: rgb(29, 42, 134);
/* oklch */ color: oklch(34.3% 0.153 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a86;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a86",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 232.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34311,
    "c": 0.15269,
    "h": 269.7
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#1D2A86
secondary
#B9AB46
accent
#D340E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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