#1D2896#1D2896

#1D2896 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.176 H 269.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1D2896
RGBrgb(29, 40, 150)
HSLhsl(235, 68%, 35%)
HSVhsv(235, 81%, 59%)
CMYKcmyk(80.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(23.61, 36.54, -60.78)
CIE-LCHlch(23.61, 70.91, 301.01°)
OKLaboklab(35.65% -0.0015 -0.1761)
OKLCHoklch(35.65% 0.176 269.5)
XYZxyz(6.7686, 3.9800, 29.2597)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2896 #968B1D
analogous
#1D6596 #1D2896 #4E1D96
triadic
#1D2896 #961D28 #28961D
tetradic
#1D2896 #961D65 #968B1D #1D964E
square
#1D2896 #961D65 #968B1D #1D964E
split-complementary
#1D2896 #964E1D #65961D
monochromatic
#090D2F #131A63 #1D2896 #2736C9 #505DDD

Accessibility & contrast

On white

11.69
#1D2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2896
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2896#FFFFFF#000000##FFFFFF
##1D28961.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2896;
/* rgb */ color: rgb(29, 40, 150);
/* oklch */ color: oklch(35.7% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#7063b6',
    500: '#1d2896',
    950: '#000000',
  },
}
SCSS
$custom: #1d2896;
$custom-light: #7063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2896",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 234.545,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.17606,
    "h": 269.5
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#1D2896
secondary
#C0B64F
accent
#DB3DEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2896

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

Preview Lab → · Contrast checker → · Palette generator →

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