#1D2A89#1D2A89

#1D2A89 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.157 H 269.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1D2A89
RGBrgb(29, 42, 137)
HSLhsl(233, 65%, 33%)
HSVhsv(233, 79%, 54%)
CMYKcmyk(78.8%, 69.3%, 0%, 46.3%)
CIE-LABlab(22.73, 30.45, -54.15)
CIE-LCHlch(22.73, 62.13, 299.35°)
OKLaboklab(34.62% -0.001 -0.1567)
OKLCHoklch(34.62% 0.157 269.6)
XYZxyz(5.8485, 3.7226, 24.0724)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A89 #897C1D
analogous
#1D6089 #1D2A89 #461D89
triadic
#1D2A89 #891D2A #2A891D
tetradic
#1D2A89 #891D60 #897C1D #1D8946
square
#1D2A89 #891D60 #897C1D #1D8946
split-complementary
#1D2A89 #89461D #60891D
monochromatic
#080B24 #121B56 #1D2A89 #2839BC #4859D8

Accessibility & contrast

On white

12.04
#1D2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A89
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A89#FFFFFF#000000##FFFFFF
##1D2A891.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2a89;
/* rgb */ color: rgb(29, 42, 137);
/* oklch */ color: oklch(34.6% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c63ac',
    500: '#1d2a89',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a89;
$custom-light: #6c63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a89",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 232.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34618,
    "c": 0.15675,
    "h": 269.6
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#1D2A89
secondary
#BAAD47
accent
#D440E8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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