#1D50AC#1D50AC

#1D50AC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.157 H 261.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1D50AC
RGBrgb(29, 80, 172)
HSLhsl(219, 71%, 39%)
HSVhsv(219, 83%, 67%)
CMYKcmyk(83.1%, 53.5%, 0%, 32.5%)
CIE-LABlab(35.94, 18.45, -53.91)
CIE-LCHlch(35.94, 56.98, 288.89°)
OKLaboklab(45.4% -0.0244 -0.1555)
OKLCHoklch(45.4% 0.157 261.1)
XYZxyz(10.8190, 8.9758, 40.1840)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D50AC #AC791D
analogous
#1D98AC #1D50AC #311DAC
triadic
#1D50AC #AC1D50 #50AC1D
tetradic
#1D50AC #AC1D98 #AC791D #1DAC31
square
#1D50AC #AC1D98 #AC791D #1DAC31
split-complementary
#1D50AC #AC311D #98AC1D
monochromatic
#0B1F43 #143878 #1D50AC #2B6ADB #5F8FE4

Accessibility & contrast

On white

7.51
#1D50AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1D50AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D50AC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D50AC#FFFFFF#000000##FFFFFF
##1D50AC1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1d50ac;
/* rgb */ color: rgb(29, 80, 172);
/* oklch */ color: oklch(45.4% 0.157 261.1);
Tailwind
colors: {
  custom: {
    50: '#7280c5',
    500: '#1d50ac',
    950: '#000000',
  },
}
SCSS
$custom: #1d50ac;
$custom-light: #7280c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d50ac",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 218.601,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.15739,
    "h": 261.1
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#1D50AC
secondary
#C8A25C
accent
#AE3AEE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1D50AC

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

Preview Lab → · Contrast checker → · Palette generator →

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