#1A50B3#1A50B3

#1A50B3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.168 H 261.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#1A50B3
RGBrgb(26, 80, 179)
HSLhsl(219, 75%, 40%)
HSVhsv(219, 85%, 70%)
CMYKcmyk(85.5%, 55.3%, 0%, 29.8%)
CIE-LABlab(36.39, 20.98, -57.33)
CIE-LCHlch(36.39, 61.05, 290.10°)
OKLaboklab(45.88% -0.0253 -0.1656)
OKLCHoklch(45.88% 0.168 261.3)
XYZxyz(11.4284, 9.2102, 43.8145)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A50B3 #B37D1A
analogous
#1A9CB3 #1A50B3 #311AB3
triadic
#1A50B3 #B31A50 #50B31A
tetradic
#1A50B3 #B31A9C #B37D1A #1AB331
square
#1A50B3 #B31A9C #B37D1A #1AB331
split-complementary
#1A50B3 #B3311A #9CB31A
monochromatic
#0A2048 #12387E #1A50B3 #2A6AE0 #6090E8

Accessibility & contrast

On white

7.39
#1A50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1A50B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A50B3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A50B3#FFFFFF#000000##FFFFFF
##1A50B31.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1a50b3;
/* rgb */ color: rgb(26, 80, 179);
/* oklch */ color: oklch(45.9% 0.168 261.3);
Tailwind
colors: {
  custom: {
    50: '#7480ca',
    500: '#1a50b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a50b3;
$custom-light: #7480ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a50b3",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 218.824,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.16753,
    "h": 261.3
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#1A50B3
secondary
#CCA55D
accent
#AF37F1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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