#1D1863#1D1863

#1D1863 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.126 H 277.1°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#1D1863
RGBrgb(29, 24, 99)
HSLhsl(244, 61%, 24%)
HSVhsv(244, 76%, 39%)
CMYKcmyk(70.7%, 75.8%, 0%, 61.2%)
CIE-LABlab(14.49, 28.09, -43.30)
CIE-LCHlch(14.49, 51.61, 302.97°)
OKLaboklab(27.48% 0.0156 -0.125)
OKLCHoklch(27.48% 0.126 277.1)
XYZxyz(3.0847, 1.8151, 11.9897)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1863 #5E6318
analogous
#183963 #1D1863 #431863
triadic
#1D1863 #631D18 #18631D
tetradic
#1D1863 #631839 #5E6318 #186343
square
#1D1863 #631839 #5E6318 #186343
split-complementary
#1D1863 #634318 #396318
monochromatic
#070619 #0F0C32 #1D1863 #2B2494 #3A30C6

Accessibility & contrast

On white

15.41
#1D1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1863
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1863#FFFFFF#000000##FFFFFF
##1D18631.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1863;
/* rgb */ color: rgb(29, 24, 99);
/* oklch */ color: oklch(27.5% 0.126 277.1);
Tailwind
colors: {
  custom: {
    50: '#645690',
    500: '#1d1863',
    950: '#000000',
  },
}
SCSS
$custom: #1d1863;
$custom-light: #645690;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1863",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 244,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2748,
    "c": 0.12601,
    "h": 277.1
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#1D1863
secondary
#93993E
accent
#E444D9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1D1863

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

Preview Lab → · Contrast checker → · Palette generator →

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