#1D2A85#1D2A85

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

Color values

HEX#1D2A85
RGBrgb(29, 42, 133)
HSLhsl(233, 64%, 32%)
HSVhsv(233, 78%, 52%)
CMYKcmyk(78.2%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.34, 28.93, -52.30)
CIE-LCHlch(22.34, 59.76, 298.95°)
OKLaboklab(34.21% -0.0007 -0.1513)
OKLCHoklch(34.21% 0.151 269.7)
XYZxyz(5.5668, 3.6100, 22.5892)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A85 #85781D
analogous
#1D5E85 #1D2A85 #441D85
triadic
#1D2A85 #851D2A #2A851D
tetradic
#1D2A85 #851D5E #85781D #1D8544
square
#1D2A85 #851D5E #85781D #1D8544
split-complementary
#1D2A85 #85441D #5E851D
monochromatic
#070A21 #121A53 #1D2A85 #283AB7 #4658D7

Accessibility & contrast

On white

12.19
#1D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A85
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A85#FFFFFF#000000##FFFFFF
##1D2A851.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2a85;
/* rgb */ color: rgb(29, 42, 133);
/* oklch */ color: oklch(34.2% 0.151 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a85;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a85",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 232.5,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.15132,
    "h": 269.7
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#1D2A85
secondary
#B8AA46
accent
#D241E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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