#1A5FC9#1A5FC9

#1A5FC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.178 H 259.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1A5FC9
RGBrgb(26, 95, 201)
HSLhsl(216, 77%, 45%)
HSVhsv(216, 87%, 79%)
CMYKcmyk(87.1%, 52.7%, 0%, 21.2%)
CIE-LABlab(42.18, 19.75, -60.77)
CIE-LCHlch(42.18, 63.90, 288.01°)
OKLaboklab(50.81% -0.0324 -0.1754)
OKLCHoklch(50.81% 0.178 259.5)
XYZxyz(15.0570, 12.6191, 56.8892)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5FC9 #C9841A
analogous
#1AB7C9 #1A5FC9 #2D1AC9
triadic
#1A5FC9 #C91A5F #5FC91A
tetradic
#1A5FC9 #C91AB7 #C9841A #1AC92D
square
#1A5FC9 #C91AB7 #C9841A #1AC92D
split-complementary
#1A5FC9 #C92D1A #B7C91A
monochromatic
#0C2C5D #134593 #1A5FC9 #3B7EE6 #71A2ED

Accessibility & contrast

On white

5.96
#1A5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1A5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5FC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5FC9#FFFFFF#000000##FFFFFF
##1A5FC91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086CCD
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a5fc9;
/* rgb */ color: rgb(26, 95, 201);
/* oklch */ color: oklch(50.8% 0.178 259.5);
Tailwind
colors: {
  custom: {
    50: '#788bda',
    500: '#1a5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #1a5fc9;
$custom-light: #788bda;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5fc9",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 216.343,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.17835,
    "h": 259.5
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#1A5FC9
secondary
#D3AA6C
accent
#A834F4
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #1A5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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