#1D2389#1D2389

#1D2389 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.165 H 270.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1D2389
RGBrgb(29, 35, 137)
HSLhsl(237, 65%, 33%)
HSVhsv(237, 79%, 54%)
CMYKcmyk(78.8%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.09, 34.94, -56.86)
CIE-LCHlch(21.09, 66.74, 301.57°)
OKLaboklab(33.43% 0.0026 -0.1646)
OKLCHoklch(33.43% 0.165 270.9)
XYZxyz(5.6215, 3.2688, 23.9967)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2389 #89831D
analogous
#1D5989 #1D2389 #4D1D89
triadic
#1D2389 #891D23 #23891D
tetradic
#1D2389 #891D59 #89831D #1D894D
square
#1D2389 #891D59 #89831D #1D894D
split-complementary
#1D2389 #894D1D #59891D
monochromatic
#080924 #121656 #1D2389 #2830BC #4850D8

Accessibility & contrast

On white

12.70
#1D2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2389
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2389#FFFFFF#000000##FFFFFF
##1D23891.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2389;
/* rgb */ color: rgb(29, 35, 137);
/* oklch */ color: oklch(33.4% 0.165 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d5fad',
    500: '#1d2389',
    950: '#000000',
  },
}
SCSS
$custom: #1d2389;
$custom-light: #6d5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2389",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 236.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.16465,
    "h": 270.9
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#1D2389
secondary
#BAB447
accent
#DF40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2389

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

Preview Lab → · Contrast checker → · Palette generator →

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