#1B50A1#1B50A1

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

Color values

HEX#1B50A1
RGBrgb(27, 80, 161)
HSLhsl(216, 71%, 37%)
HSVhsv(216, 83%, 63%)
CMYKcmyk(83.2%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.09, 13.86, -48.72)
CIE-LCHlch(35.09, 50.65, 285.88°)
OKLaboklab(44.48% -0.0269 -0.1403)
OKLCHoklch(44.48% 0.143 259.1)
XYZxyz(9.7513, 8.5423, 34.8462)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B50A1 #A16C1B
analogous
#1B93A1 #1B50A1 #291BA1
triadic
#1B50A1 #A11B50 #50A11B
tetradic
#1B50A1 #A11B93 #A16C1B #1BA129
square
#1B50A1 #A11B93 #A16C1B #1BA129
split-complementary
#1B50A1 #A1291B #93A11B
monochromatic
#091C38 #12366D #1B50A1 #246AD5 #548CE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B50A1#FFFFFF#000000##FFFFFF
##1B50A11.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)
#1E59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b50a1;
/* rgb */ color: rgb(27, 80, 161);
/* oklch */ color: oklch(44.5% 0.143 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f80bd',
    500: '#1b50a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b50a1;
$custom-light: #6f80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b50a1",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 216.269,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.14281,
    "h": 259.1
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#1B50A1
secondary
#C59852
accent
#A73AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B50A1

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

Preview Lab → · Contrast checker → · Palette generator →

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