#1D519B#1D519B

#1D519B is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.133 H 258.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#1D519B
RGBrgb(29, 81, 155)
HSLhsl(215, 68%, 36%)
HSVhsv(215, 81%, 61%)
CMYKcmyk(81.3%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.03, 10.98, -45.21)
CIE-LCHlch(35.03, 46.52, 283.65°)
OKLaboklab(44.32% -0.0275 -0.1299)
OKLCHoklch(44.32% 0.133 258)
XYZxyz(9.3633, 8.5115, 32.1534)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D519B #9B671D
analogous
#1D909B #1D519B #281D9B
triadic
#1D519B #9B1D51 #519B1D
tetradic
#1D519B #9B1D90 #9B671D #1D9B28
square
#1D519B #9B1D90 #9B671D #1D9B28
split-complementary
#1D519B #9B281D #909B1D
monochromatic
#0A1B34 #133667 #1D519B #276CCF #538DDF

Accessibility & contrast

On white

7.77
#1D519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1D519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D519B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D519B#FFFFFF#000000##FFFFFF
##1D519B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589E
Deuteranopia (green-blind)
#024D9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d519b;
/* rgb */ color: rgb(29, 81, 155);
/* oklch */ color: oklch(44.3% 0.133 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e81b9',
    500: '#1d519b',
    950: '#000000',
  },
}
SCSS
$custom: #1d519b;
$custom-light: #6e81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d519b",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 215.238,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.13275,
    "h": 258
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#1D519B
secondary
#C29452
accent
#A33CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D519B

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

Preview Lab → · Contrast checker → · Palette generator →

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