#1D519D#1D519D

#1D519D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.136 H 258.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1D519D
RGBrgb(29, 81, 157)
HSLhsl(216, 69%, 36%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(81.5%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.16, 11.78, -46.20)
CIE-LCHlch(35.16, 47.67, 284.31°)
OKLaboklab(44.47% -0.0272 -0.1328)
OKLCHoklch(44.47% 0.136 258.4)
XYZxyz(9.5327, 8.5792, 33.0453)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D519D #9D691D
analogous
#1D919D #1D519D #291D9D
triadic
#1D519D #9D1D51 #519D1D
tetradic
#1D519D #9D1D91 #9D691D #1D9D29
square
#1D519D #9D1D91 #9D691D #1D9D29
split-complementary
#1D519D #9D291D #919D1D
monochromatic
#0A1C36 #133669 #1D519D #276CD1 #558DE0

Accessibility & contrast

On white

7.73
#1D519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1D519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D519D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D519D#FFFFFF#000000##FFFFFF
##1D519D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d519d;
/* rgb */ color: rgb(29, 81, 157);
/* oklch */ color: oklch(44.5% 0.136 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f81ba',
    500: '#1d519d',
    950: '#000000',
  },
}
SCSS
$custom: #1d519d;
$custom-light: #6f81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d519d",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 215.625,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.13553,
    "h": 258.4
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#1D519D
secondary
#C39553
accent
#A43CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1D519D

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

Preview Lab → · Contrast checker → · Palette generator →

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