#1D289A#1D289A

#1D289A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.181 H 269.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1D289A
RGBrgb(29, 40, 154)
HSLhsl(235, 68%, 36%)
HSVhsv(235, 81%, 60%)
CMYKcmyk(81.2%, 74%, 0%, 39.6%)
CIE-LABlab(24.04, 37.97, -62.52)
CIE-LCHlch(24.04, 73.15, 301.27°)
OKLaboklab(36.09% -0.002 -0.1811)
OKLCHoklch(36.09% 0.181 269.4)
XYZxyz(7.0962, 4.1111, 30.9851)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D289A #9A8F1D
analogous
#1D669A #1D289A #501D9A
triadic
#1D289A #9A1D28 #289A1D
tetradic
#1D289A #9A1D66 #9A8F1D #1D9A50
square
#1D289A #9A1D66 #9A8F1D #1D9A50
split-complementary
#1D289A #9A501D #669A1D
monochromatic
#0A0D33 #131B66 #1D289A #2735CE #535FDF

Accessibility & contrast

On white

11.52
#1D289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D289A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D289A#FFFFFF#000000##FFFFFF
##1D289A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d289a;
/* rgb */ color: rgb(29, 40, 154);
/* oklch */ color: oklch(36.1% 0.181 269.4);
Tailwind
colors: {
  custom: {
    50: '#7163b9',
    500: '#1d289a',
    950: '#000000',
  },
}
SCSS
$custom: #1d289a;
$custom-light: #7163b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d289a",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 234.72,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.18115,
    "h": 269.4
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#1D289A
secondary
#C2B851
accent
#DC3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1D289A

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

Preview Lab → · Contrast checker → · Palette generator →

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