#1A56B4#1A56B4

#1A56B4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.161 H 259.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1A56B4
RGBrgb(26, 86, 180)
HSLhsl(217, 75%, 40%)
HSVhsv(217, 86%, 71%)
CMYKcmyk(85.6%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.14, 17.38, -55.07)
CIE-LCHlch(38.14, 57.75, 287.51°)
OKLaboklab(47.24% -0.0291 -0.1588)
OKLCHoklch(47.24% 0.161 259.6)
XYZxyz(11.9890, 10.1690, 44.5021)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A56B4 #B4781A
analogous
#1AA3B4 #1A56B4 #2B1AB4
triadic
#1A56B4 #B41A56 #56B41A
tetradic
#1A56B4 #B41AA3 #B4781A #1AB42B
square
#1A56B4 #B41AA3 #B4781A #1AB42B
split-complementary
#1A56B4 #B42B1A #A3B41A
monochromatic
#0B2349 #123C7F #1A56B4 #2B72E0 #6095E8

Accessibility & contrast

On white

6.92
#1A56B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1A56B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A56B4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A56B4#FFFFFF#000000##FFFFFF
##1A56B41.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a56b4;
/* rgb */ color: rgb(26, 86, 180);
/* oklch */ color: oklch(47.2% 0.161 259.6);
Tailwind
colors: {
  custom: {
    50: '#7384cb',
    500: '#1a56b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a56b4;
$custom-light: #7384cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a56b4",
  "rgb": {
    "r": 26,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 216.623,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.16147,
    "h": 259.6
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#1A56B4
secondary
#CCA15D
accent
#A936F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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