#1B50B4#1B50B4

#1B50B4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.169 H 261.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1B50B4
RGBrgb(27, 80, 180)
HSLhsl(219, 74%, 41%)
HSVhsv(219, 85%, 71%)
CMYKcmyk(85%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.49, 21.46, -57.76)
CIE-LCHlch(36.49, 61.62, 290.38°)
OKLaboklab(45.99% -0.0247 -0.1668)
OKLCHoklch(45.99% 0.169 261.6)
XYZxyz(11.5559, 9.2642, 44.3503)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B50B4 #B47F1B
analogous
#1B9CB4 #1B50B4 #331BB4
triadic
#1B50B4 #B41B50 #50B41B
tetradic
#1B50B4 #B41B9C #B47F1B #1BB433
square
#1B50B4 #B41B9C #B47F1B #1BB433
split-complementary
#1B50B4 #B4331B #9CB41B
monochromatic
#0B214A #13387F #1B50B4 #2D6BDF #6290E7

Accessibility & contrast

On white

7.36
#1B50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1B50B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B50B4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B50B4#FFFFFF#000000##FFFFFF
##1B50B41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1b50b4;
/* rgb */ color: rgb(27, 80, 180);
/* oklch */ color: oklch(46.0% 0.169 261.6);
Tailwind
colors: {
  custom: {
    50: '#7480cb',
    500: '#1b50b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b50b4;
$custom-light: #7480cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b50b4",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 219.216,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.16865,
    "h": 261.6
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#1B50B4
secondary
#CCA65F
accent
#B037F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1B50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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