#1537A1#1537A1

#1537A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.175 H 265.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1537A1
RGBrgb(21, 55, 161)
HSLhsl(225, 77%, 36%)
HSVhsv(225, 87%, 63%)
CMYKcmyk(87%, 65.8%, 0%, 36.9%)
CIE-LABlab(28.02, 30.36, -60.24)
CIE-LCHlch(28.02, 67.46, 296.74°)
OKLaboklab(39.11% -0.0153 -0.1746)
OKLCHoklch(39.11% 0.175 265)
XYZxyz(8.1062, 5.4640, 34.3387)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1537A1 #A17F15
analogous
#157DA1 #1537A1 #3915A1
triadic
#1537A1 #A11537 #37A115
tetradic
#1537A1 #A1157D #A17F15 #15A139
square
#1537A1 #A1157D #A17F15 #15A139
split-complementary
#1537A1 #A13915 #7DA115
monochromatic
#071235 #0E256B #1537A1 #1C49D7 #4970E7

Accessibility & contrast

On white

10.03
#1537A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1537A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1537A1
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1537A1#FFFFFF#000000##FFFFFF
##1537A11.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1537a1;
/* rgb */ color: rgb(21, 55, 161);
/* oklch */ color: oklch(39.1% 0.175 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f6dbe',
    500: '#1537a1',
    950: '#000000',
  },
}
SCSS
$custom: #1537a1;
$custom-light: #6f6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1537a1",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 225.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.17525,
    "h": 265
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#1537A1
secondary
#C8AA49
accent
#C534F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1537A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1537A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva