#1D519C#1D519C

#1D519C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.134 H 258.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#1D519C
RGBrgb(29, 81, 156)
HSLhsl(215, 69%, 36%)
HSVhsv(215, 81%, 61%)
CMYKcmyk(81.4%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.09, 11.38, -45.70)
CIE-LCHlch(35.09, 47.10, 283.99°)
OKLaboklab(44.39% -0.0274 -0.1313)
OKLCHoklch(44.39% 0.134 258.2)
XYZxyz(9.4477, 8.5452, 32.5975)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D519C #9C681D
analogous
#1D919C #1D519C #291D9C
triadic
#1D519C #9C1D51 #519C1D
tetradic
#1D519C #9C1D91 #9C681D #1D9C29
square
#1D519C #9C1D91 #9C681D #1D9C29
split-complementary
#1D519C #9C291D #919C1D
monochromatic
#0A1B35 #133668 #1D519C #276CD0 #548DDF

Accessibility & contrast

On white

7.75
#1D519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1D519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D519C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D519C#FFFFFF#000000##FFFFFF
##1D519C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d519c;
/* rgb */ color: rgb(29, 81, 156);
/* oklch */ color: oklch(44.4% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e81ba',
    500: '#1d519c',
    950: '#000000',
  },
}
SCSS
$custom: #1d519c;
$custom-light: #6e81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d519c",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 215.433,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.13414,
    "h": 258.2
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#1D519C
secondary
#C29552
accent
#A43CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D519C

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

Preview Lab → · Contrast checker → · Palette generator →

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