#1557CA#1557CA

#1557CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.190 H 261.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#1557CA
RGBrgb(21, 87, 202)
HSLhsl(218, 81%, 44%)
HSVhsv(218, 90%, 79%)
CMYKcmyk(89.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(39.98, 25.10, -64.93)
CIE-LCHlch(39.98, 69.62, 291.14°)
OKLaboklab(49.13% -0.0298 -0.1878)
OKLCHoklch(49.13% 0.19 261)
XYZxyz(14.3742, 11.2382, 57.2772)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1557CA #CA8815
analogous
#15B1CA #1557CA #2E15CA
triadic
#1557CA #CA1557 #57CA15
tetradic
#1557CA #CA15B1 #CA8815 #15CA2E
square
#1557CA #CA15B1 #CA8815 #15CA2E
split-complementary
#1557CA #CA2E15 #B1CA15
monochromatic
#09275B #0F3F93 #1557CA #3275EA #6A9BEF

Accessibility & contrast

On white

6.47
#1557CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#1557CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1557CA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1557CA#FFFFFF#000000##FFFFFF
##1557CA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1557ca;
/* rgb */ color: rgb(21, 87, 202);
/* oklch */ color: oklch(49.1% 0.190 261.0);
Tailwind
colors: {
  custom: {
    50: '#7885db',
    500: '#1557ca',
    950: '#000000',
  },
}
SCSS
$custom: #1557ca;
$custom-light: #7885db;
$custom-dark: #000000;
JSON
{
  "hex": "#1557ca",
  "rgb": {
    "r": 21,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 218.122,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.19017,
    "h": 261
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#1557CA
secondary
#D5AC66
accent
#AF30F8
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #1557CA

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

Preview Lab → · Contrast checker → · Palette generator →

#1557CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva