#1D289E#1D289E

#1D289E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.186 H 269.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#1D289E
RGBrgb(29, 40, 158)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 82%, 62%)
CMYKcmyk(81.6%, 74.7%, 0%, 38%)
CIE-LABlab(24.47, 39.40, -64.25)
CIE-LCHlch(24.47, 75.37, 301.51°)
OKLaboklab(36.53% -0.0026 -0.1862)
OKLCHoklch(36.53% 0.186 269.2)
XYZxyz(7.4349, 4.2465, 32.7689)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D289E #9E931D
analogous
#1D699E #1D289E #531D9E
triadic
#1D289E #9E1D28 #289E1D
tetradic
#1D289E #9E1D69 #9E931D #1D9E53
square
#1D289E #9E1D69 #9E931D #1D9E53
split-complementary
#1D289E #9E531D #699E1D
monochromatic
#0A0E37 #141B6A #1D289E #2635D2 #5661E0

Accessibility & contrast

On white

11.36
#1D289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D289E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D289E#FFFFFF#000000##FFFFFF
##1D289E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d289e;
/* rgb */ color: rgb(29, 40, 158);
/* oklch */ color: oklch(36.5% 0.186 269.2);
Tailwind
colors: {
  custom: {
    50: '#7263bc',
    500: '#1d289e',
    950: '#000000',
  },
}
SCSS
$custom: #1d289e;
$custom-light: #7263bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d289e",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 234.884,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36527,
    "c": 0.18618,
    "h": 269.2
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#1D289E
secondary
#C3BA54
accent
#DD3CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1D289E

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

Preview Lab → · Contrast checker → · Palette generator →

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