#1D1763#1D1763

#1D1763 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.127 H 277.4°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#1D1763
RGBrgb(29, 23, 99)
HSLhsl(245, 62%, 24%)
HSVhsv(245, 77%, 39%)
CMYKcmyk(70.7%, 76.8%, 0%, 61.2%)
CIE-LABlab(14.26, 28.72, -43.68)
CIE-LCHlch(14.26, 52.27, 303.33°)
OKLaboklab(27.32% 0.0163 -0.1262)
OKLCHoklch(27.32% 0.127 277.4)
XYZxyz(3.0645, 1.7746, 11.9830)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1763 #5D6317
analogous
#173763 #1D1763 #431763
triadic
#1D1763 #631D17 #17631D
tetradic
#1D1763 #631737 #5D6317 #176343
square
#1D1763 #631737 #5D6317 #176343
split-complementary
#1D1763 #634317 #376317
monochromatic
#070619 #0E0B31 #1D1763 #2C2395 #3A2EC6

Accessibility & contrast

On white

15.50
#1D1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1763
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1763#FFFFFF#000000##FFFFFF
##1D17631.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d1763;
/* rgb */ color: rgb(29, 23, 99);
/* oklch */ color: oklch(27.3% 0.127 277.4);
Tailwind
colors: {
  custom: {
    50: '#645590',
    500: '#1d1763',
    950: '#000000',
  },
}
SCSS
$custom: #1d1763;
$custom-light: #645590;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1763",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 244.737,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27317,
    "c": 0.1272,
    "h": 277.4
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#1D1763
secondary
#929A3C
accent
#E542D9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1D1763

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

Preview Lab → · Contrast checker → · Palette generator →

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