#1A56B3#1A56B3

#1A56B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.160 H 259.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#1A56B3
RGBrgb(26, 86, 179)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 85%, 70%)
CMYKcmyk(85.5%, 52%, 0%, 29.8%)
CIE-LABlab(38.07, 16.98, -54.60)
CIE-LCHlch(38.07, 57.18, 287.27°)
OKLaboklab(47.17% -0.0293 -0.1574)
OKLCHoklch(47.17% 0.16 259.5)
XYZxyz(11.8875, 10.1284, 43.9675)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A56B3 #B3771A
analogous
#1AA2B3 #1A56B3 #2B1AB3
triadic
#1A56B3 #B31A56 #56B31A
tetradic
#1A56B3 #B31AA2 #B3771A #1AB32B
square
#1A56B3 #B31AA2 #B3771A #1AB32B
split-complementary
#1A56B3 #B32B1A #A2B31A
monochromatic
#0A2348 #123C7E #1A56B3 #2A71E0 #6095E8

Accessibility & contrast

On white

6.94
#1A56B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A56B3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A56B3#FFFFFF#000000##FFFFFF
##1A56B31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a56b3;
/* rgb */ color: rgb(26, 86, 179);
/* oklch */ color: oklch(47.2% 0.160 259.5);
Tailwind
colors: {
  custom: {
    50: '#7384ca',
    500: '#1a56b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a56b3;
$custom-light: #7384ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a56b3",
  "rgb": {
    "r": 26,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 216.471,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.16013,
    "h": 259.5
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#1A56B3
secondary
#CCA05D
accent
#A837F1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A56B3

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

Preview Lab → · Contrast checker → · Palette generator →

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