#1A54B4#1A54B4

#1A54B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.164 H 260.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1A54B4
RGBrgb(26, 84, 180)
HSLhsl(217, 75%, 40%)
HSVhsv(217, 86%, 71%)
CMYKcmyk(85.6%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.58, 18.71, -55.99)
CIE-LCHlch(37.58, 59.03, 288.48°)
OKLaboklab(46.81% -0.0278 -0.1615)
OKLCHoklch(46.81% 0.164 260.2)
XYZxyz(11.8315, 9.8541, 44.4496)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A54B4 #B47A1A
analogous
#1AA1B4 #1A54B4 #2D1AB4
triadic
#1A54B4 #B41A54 #54B41A
tetradic
#1A54B4 #B41AA1 #B47A1A #1AB42D
square
#1A54B4 #B41AA1 #B47A1A #1AB42D
split-complementary
#1A54B4 #B42D1A #A1B41A
monochromatic
#0B2249 #123B7F #1A54B4 #2B6FE0 #6093E8

Accessibility & contrast

On white

7.07
#1A54B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1A54B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A54B4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A54B4#FFFFFF#000000##FFFFFF
##1A54B41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1a54b4;
/* rgb */ color: rgb(26, 84, 180);
/* oklch */ color: oklch(46.8% 0.164 260.2);
Tailwind
colors: {
  custom: {
    50: '#7483cb',
    500: '#1a54b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a54b4;
$custom-light: #7483cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a54b4",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 217.403,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.16392,
    "h": 260.2
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#1A54B4
secondary
#CCA35D
accent
#AB36F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A54B4

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

Preview Lab → · Contrast checker → · Palette generator →

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