#1D2396#1D2396

#1D2396 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.181 H 270.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1D2396
RGBrgb(29, 35, 150)
HSLhsl(237, 68%, 35%)
HSVhsv(237, 81%, 59%)
CMYKcmyk(80.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(22.53, 39.55, -62.55)
CIE-LCHlch(22.53, 74.01, 302.30°)
OKLaboklab(34.89% 0.0005 -0.1812)
OKLCHoklch(34.89% 0.181 270.1)
XYZxyz(6.6109, 3.6645, 29.2072)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2396 #96901D
analogous
#1D5F96 #1D2396 #541D96
triadic
#1D2396 #961D23 #23961D
tetradic
#1D2396 #961D5F #96901D #1D9654
square
#1D2396 #961D5F #96901D #1D9654
split-complementary
#1D2396 #96541D #5F961D
monochromatic
#090B2F #131763 #1D2396 #272FC9 #5057DD

Accessibility & contrast

On white

12.12
#1D2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2396
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2396#FFFFFF#000000##FFFFFF
##1D23961.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2396;
/* rgb */ color: rgb(29, 35, 150);
/* oklch */ color: oklch(34.9% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#705fb6',
    500: '#1d2396',
    950: '#000000',
  },
}
SCSS
$custom: #1d2396;
$custom-light: #705fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2396",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 237.025,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.18119,
    "h": 270.1
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#1D2396
secondary
#C0BA4F
accent
#E23DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2396

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

Preview Lab → · Contrast checker → · Palette generator →

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