#1B50A7#1B50A7

#1B50A7 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.151 H 260.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#1B50A7
RGBrgb(27, 80, 167)
HSLhsl(217, 72%, 38%)
HSVhsv(217, 84%, 65%)
CMYKcmyk(83.8%, 52.1%, 0%, 34.5%)
CIE-LABlab(35.52, 16.27, -51.62)
CIE-LCHlch(35.52, 54.12, 287.50°)
OKLaboklab(44.95% -0.0261 -0.1488)
OKLCHoklch(44.95% 0.151 260)
XYZxyz(10.2932, 8.7591, 37.6999)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B50A7 #A7721B
analogous
#1B96A7 #1B50A7 #2C1BA7
triadic
#1B50A7 #A71B50 #50A71B
tetradic
#1B50A7 #A71B96 #A7721B #1BA72C
square
#1B50A7 #A71B96 #A7721B #1BA72C
split-complementary
#1B50A7 #A72C1B #96A71B
monochromatic
#0A1E3E #123772 #1B50A7 #2469DC #588DE4

Accessibility & contrast

On white

7.63
#1B50A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1B50A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B50A7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B50A7#FFFFFF#000000##FFFFFF
##1B50A71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b50a7;
/* rgb */ color: rgb(27, 80, 167);
/* oklch */ color: oklch(44.9% 0.151 260.0);
Tailwind
colors: {
  custom: {
    50: '#7180c2',
    500: '#1b50a7',
    950: '#000000',
  },
}
SCSS
$custom: #1b50a7;
$custom-light: #7180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b50a7",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 217.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.15104,
    "h": 260
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#1B50A7
secondary
#C89D56
accent
#AA39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B50A7

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

Preview Lab → · Contrast checker → · Palette generator →

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