#1D2895#1D2895

#1D2895 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.175 H 269.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1D2895
RGBrgb(29, 40, 149)
HSLhsl(235, 67%, 35%)
HSVhsv(235, 81%, 58%)
CMYKcmyk(80.5%, 73.2%, 0%, 41.6%)
CIE-LABlab(23.50, 36.17, -60.34)
CIE-LCHlch(23.50, 70.35, 300.94°)
OKLaboklab(35.54% -0.0014 -0.1748)
OKLCHoklch(35.54% 0.175 269.6)
XYZxyz(6.6884, 3.9480, 28.8375)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2895 #958A1D
analogous
#1D6495 #1D2895 #4E1D95
triadic
#1D2895 #951D28 #28951D
tetradic
#1D2895 #951D64 #958A1D #1D954E
square
#1D2895 #951D64 #958A1D #1D954E
split-complementary
#1D2895 #954E1D #64951D
monochromatic
#090C2F #131A62 #1D2895 #2736C8 #505DDD

Accessibility & contrast

On white

11.73
#1D2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2895
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2895#FFFFFF#000000##FFFFFF
##1D28951.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2895;
/* rgb */ color: rgb(29, 40, 149);
/* oklch */ color: oklch(35.5% 0.175 269.6);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#1d2895',
    950: '#000000',
  },
}
SCSS
$custom: #1d2895;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2895",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 234.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35543,
    "c": 0.17478,
    "h": 269.6
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#1D2895
secondary
#C0B54E
accent
#DA3DEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2895

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

Preview Lab → · Contrast checker → · Palette generator →

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