#1A5AB4#1A5AB4

#1A5AB4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.157 H 258.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#1A5AB4
RGBrgb(26, 90, 180)
HSLhsl(215, 75%, 40%)
HSVhsv(215, 86%, 71%)
CMYKcmyk(85.6%, 50%, 0%, 29.4%)
CIE-LABlab(39.29, 14.73, -53.23)
CIE-LCHlch(39.29, 55.23, 285.46°)
OKLaboklab(48.12% -0.0319 -0.1533)
OKLCHoklch(48.12% 0.157 258.2)
XYZxyz(12.3173, 10.8257, 44.6115)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5AB4 #B4741A
analogous
#1AA7B4 #1A5AB4 #271AB4
triadic
#1A5AB4 #B41A5A #5AB41A
tetradic
#1A5AB4 #B41AA7 #B4741A #1AB427
square
#1A5AB4 #B41AA7 #B4741A #1AB427
split-complementary
#1A5AB4 #B4271A #A7B41A
monochromatic
#0B2549 #123F7F #1A5AB4 #2B76E0 #6099E8

Accessibility & contrast

On white

6.63
#1A5AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1A5AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5AB4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5AB4#FFFFFF#000000##FFFFFF
##1A5AB41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1a5ab4;
/* rgb */ color: rgb(26, 90, 180);
/* oklch */ color: oklch(48.1% 0.157 258.2);
Tailwind
colors: {
  custom: {
    50: '#7387cb',
    500: '#1a5ab4',
    950: '#000000',
  },
}
SCSS
$custom: #1a5ab4;
$custom-light: #7387cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5ab4",
  "rgb": {
    "r": 26,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 215.065,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.15658,
    "h": 258.2
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#1A5AB4
secondary
#CC9E5D
accent
#A436F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1A5AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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