#1D289F#1D289F

#1D289F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.187 H 269.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1D289F
RGBrgb(29, 40, 159)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 82%, 62%)
CMYKcmyk(81.8%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.58, 39.75, -64.68)
CIE-LCHlch(24.58, 75.92, 301.57°)
OKLaboklab(36.64% -0.0027 -0.1874)
OKLCHoklch(36.64% 0.187 269.2)
XYZxyz(7.5213, 4.2811, 33.2241)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D289F #9F941D
analogous
#1D699F #1D289F #531D9F
triadic
#1D289F #9F1D28 #289F1D
tetradic
#1D289F #9F1D69 #9F941D #1D9F53
square
#1D289F #9F1D69 #9F941D #1D9F53
split-complementary
#1D289F #9F531D #699F1D
monochromatic
#0A0E37 #141B6B #1D289F #2635D3 #5662E0

Accessibility & contrast

On white

11.31
#1D289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D289F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D289F#FFFFFF#000000##FFFFFF
##1D289F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d289f;
/* rgb */ color: rgb(29, 40, 159);
/* oklch */ color: oklch(36.6% 0.187 269.2);
Tailwind
colors: {
  custom: {
    50: '#7263bd',
    500: '#1d289f',
    950: '#000000',
  },
}
SCSS
$custom: #1d289f;
$custom-light: #7263bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d289f",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 234.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36638,
    "c": 0.18742,
    "h": 269.2
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#1D289F
secondary
#C4BA54
accent
#DD3CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D289F

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

Preview Lab → · Contrast checker → · Palette generator →

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