#1A57B4#1A57B4

#1A57B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.160 H 259.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1A57B4
RGBrgb(26, 87, 180)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 86%, 71%)
CMYKcmyk(85.6%, 51.7%, 0%, 29.4%)
CIE-LABlab(38.43, 16.71, -54.61)
CIE-LCHlch(38.43, 57.11, 287.01°)
OKLaboklab(47.46% -0.0298 -0.1574)
OKLCHoklch(47.46% 0.16 259.3)
XYZxyz(12.0694, 10.3298, 44.5289)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A57B4 #B4771A
analogous
#1AA4B4 #1A57B4 #2A1AB4
triadic
#1A57B4 #B41A57 #57B41A
tetradic
#1A57B4 #B41AA4 #B4771A #1AB42A
square
#1A57B4 #B41AA4 #B4771A #1AB42A
split-complementary
#1A57B4 #B42A1A #A4B41A
monochromatic
#0B2349 #123D7F #1A57B4 #2B73E0 #6096E8

Accessibility & contrast

On white

6.85
#1A57B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1A57B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A57B4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A57B4#FFFFFF#000000##FFFFFF
##1A57B41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a57b4;
/* rgb */ color: rgb(26, 87, 180);
/* oklch */ color: oklch(47.5% 0.160 259.3);
Tailwind
colors: {
  custom: {
    50: '#7385cb',
    500: '#1a57b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a57b4;
$custom-light: #7385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a57b4",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 216.234,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.16024,
    "h": 259.3
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#1A57B4
secondary
#CCA05D
accent
#A736F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1A57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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