#1A54B3#1A54B3

#1A54B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.163 H 260.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#1A54B3
RGBrgb(26, 84, 179)
HSLhsl(217, 75%, 40%)
HSVhsv(217, 85%, 70%)
CMYKcmyk(85.5%, 53.1%, 0%, 29.8%)
CIE-LABlab(37.51, 18.31, -55.52)
CIE-LCHlch(37.51, 58.46, 288.25°)
OKLaboklab(46.73% -0.0279 -0.1602)
OKLCHoklch(46.73% 0.163 260.1)
XYZxyz(11.7300, 9.8135, 43.9150)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A54B3 #B3791A
analogous
#1AA0B3 #1A54B3 #2D1AB3
triadic
#1A54B3 #B31A54 #54B31A
tetradic
#1A54B3 #B31AA0 #B3791A #1AB32D
square
#1A54B3 #B31AA0 #B3791A #1AB32D
split-complementary
#1A54B3 #B32D1A #A0B31A
monochromatic
#0A2248 #123B7E #1A54B3 #2A6FE0 #6093E8

Accessibility & contrast

On white

7.09
#1A54B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1A54B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A54B3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A54B3#FFFFFF#000000##FFFFFF
##1A54B31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1a54b3;
/* rgb */ color: rgb(26, 84, 179);
/* oklch */ color: oklch(46.7% 0.163 260.1);
Tailwind
colors: {
  custom: {
    50: '#7383ca',
    500: '#1a54b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a54b3;
$custom-light: #7383ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a54b3",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 217.255,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46734,
    "c": 0.16259,
    "h": 260.1
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#1A54B3
secondary
#CCA25D
accent
#AA37F1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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