#1D519E#1D519E

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

Color values

HEX#1D519E
RGBrgb(29, 81, 158)
HSLhsl(216, 69%, 37%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(81.6%, 48.7%, 0%, 38%)
CIE-LABlab(35.23, 12.19, -46.69)
CIE-LCHlch(35.23, 48.25, 284.63°)
OKLaboklab(44.54% -0.027 -0.1342)
OKLCHoklch(44.54% 0.137 258.6)
XYZxyz(9.6184, 8.6135, 33.4968)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D519E #9E6A1D
analogous
#1D929E #1D519E #2A1D9E
triadic
#1D519E #9E1D51 #519E1D
tetradic
#1D519E #9E1D92 #9E6A1D #1D9E2A
square
#1D519E #9E1D92 #9E6A1D #1D9E2A
split-complementary
#1D519E #9E2A1D #929E1D
monochromatic
#0A1C37 #14366A #1D519E #266CD2 #568DE0

Accessibility & contrast

On white

7.71
#1D519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D519E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D519E#FFFFFF#000000##FFFFFF
##1D519E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d519e;
/* rgb */ color: rgb(29, 81, 158);
/* oklch */ color: oklch(44.5% 0.137 258.6);
Tailwind
colors: {
  custom: {
    50: '#6f81bb',
    500: '#1d519e',
    950: '#000000',
  },
}
SCSS
$custom: #1d519e;
$custom-light: #6f81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d519e",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 215.814,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.13691,
    "h": 258.6
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#1D519E
secondary
#C39654
accent
#A53CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D519E

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

Preview Lab → · Contrast checker → · Palette generator →

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