#1D1895#1D1895

#1D1895 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.190 H 271.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1D1895
RGBrgb(29, 24, 149)
HSLhsl(242, 72%, 34%)
HSVhsv(242, 84%, 58%)
CMYKcmyk(80.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.38, 45.09, -65.51)
CIE-LCHlch(20.38, 79.52, 304.54°)
OKLaboklab(33.34% 0.0039 -0.1896)
OKLCHoklch(33.34% 0.19 271.2)
XYZxyz(6.2563, 3.0837, 28.6934)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1895 #909518
analogous
#185295 #1D1895 #5C1895
triadic
#1D1895 #951D18 #18951D
tetradic
#1D1895 #951852 #909518 #18955C
square
#1D1895 #951852 #909518 #18955C
split-complementary
#1D1895 #955C18 #529518
monochromatic
#08072C #131060 #1D1895 #2720CA #4C46E1

Accessibility & contrast

On white

12.99
#1D1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1895
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1895#FFFFFF#000000##FFFFFF
##1D18951.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002B93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d1895;
/* rgb */ color: rgb(29, 24, 149);
/* oklch */ color: oklch(33.3% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#7159b6',
    500: '#1d1895',
    950: '#000000',
  },
}
SCSS
$custom: #1d1895;
$custom-light: #7159b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1895",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 242.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.18962,
    "h": 271.2
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#1D1895
secondary
#BDC246
accent
#EF39E8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1895

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

Preview Lab → · Contrast checker → · Palette generator →

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