#1A57B3#1A57B3

#1A57B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.159 H 259.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1A57B3
RGBrgb(26, 87, 179)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 85%, 70%)
CMYKcmyk(85.5%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.36, 16.31, -54.14)
CIE-LCHlch(38.36, 56.54, 286.77°)
OKLaboklab(47.38% -0.0299 -0.156)
OKLCHoklch(47.38% 0.159 259.1)
XYZxyz(11.9679, 10.2892, 43.9943)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A57B3 #B3761A
analogous
#1AA4B3 #1A57B3 #291AB3
triadic
#1A57B3 #B31A57 #57B31A
tetradic
#1A57B3 #B31AA4 #B3761A #1AB329
square
#1A57B3 #B31AA4 #B3761A #1AB329
split-complementary
#1A57B3 #B3291A #A4B31A
monochromatic
#0A2348 #123D7E #1A57B3 #2A73E0 #6096E8

Accessibility & contrast

On white

6.87
#1A57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1A57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A57B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A57B3#FFFFFF#000000##FFFFFF
##1A57B31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a57b3;
/* rgb */ color: rgb(26, 87, 179);
/* oklch */ color: oklch(47.4% 0.159 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385ca',
    500: '#1a57b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a57b3;
$custom-light: #7385ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a57b3",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 216.078,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.1589,
    "h": 259.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#1A57B3
secondary
#CCA05D
accent
#A737F1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1A57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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