#1D50A1#1D50A1

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

Color values

HEX#1D50A1
RGBrgb(29, 80, 161)
HSLhsl(217, 69%, 37%)
HSVhsv(217, 82%, 63%)
CMYKcmyk(82%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.14, 14.06, -48.63)
CIE-LCHlch(35.14, 50.62, 286.12°)
OKLaboklab(44.54% -0.0258 -0.1399)
OKLCHoklch(44.54% 0.142 259.6)
XYZxyz(9.8060, 8.5706, 34.8488)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D50A1 #A16E1D
analogous
#1D92A1 #1D50A1 #2C1DA1
triadic
#1D50A1 #A11D50 #50A11D
tetradic
#1D50A1 #A11D92 #A16E1D #1DA12C
square
#1D50A1 #A11D92 #A16E1D #1DA12C
split-complementary
#1D50A1 #A12C1D #92A11D
monochromatic
#0A1C39 #14366D #1D50A1 #266AD5 #588DE1

Accessibility & contrast

On white

7.74
#1D50A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D50A1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D50A1#FFFFFF#000000##FFFFFF
##1D50A11.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d50a1;
/* rgb */ color: rgb(29, 80, 161);
/* oklch */ color: oklch(44.5% 0.142 259.6);
Tailwind
colors: {
  custom: {
    50: '#7080bd',
    500: '#1d50a1',
    950: '#000000',
  },
}
SCSS
$custom: #1d50a1;
$custom-light: #7080bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d50a1",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 216.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.14229,
    "h": 259.6
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#1D50A1
secondary
#C49A55
accent
#A83CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D50A1

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

Preview Lab → · Contrast checker → · Palette generator →

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