#1545A0#1545A0

#1545A0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.157 H 261.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1545A0
RGBrgb(21, 69, 160)
HSLhsl(219, 77%, 35%)
HSVhsv(219, 87%, 63%)
CMYKcmyk(86.9%, 56.9%, 0%, 37.3%)
CIE-LABlab(31.70, 20.43, -53.62)
CIE-LCHlch(31.70, 57.38, 290.86°)
OKLaboklab(41.83% -0.0228 -0.155)
OKLCHoklch(41.83% 0.157 261.6)
XYZxyz(8.7802, 6.9526, 34.1301)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1545A0 #A07015
analogous
#158AA0 #1545A0 #2B15A0
triadic
#1545A0 #A01545 #45A015
tetradic
#1545A0 #A0158A #A07015 #15A02B
square
#1545A0 #A0158A #A07015 #15A02B
split-complementary
#1545A0 #A02B15 #8AA015
monochromatic
#071634 #0E2E6A #1545A0 #1C5CD6 #487FE7

Accessibility & contrast

On white

8.78
#1545A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1545A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1545A0
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1545A0#FFFFFF#000000##FFFFFF
##1545A01.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1545a0;
/* rgb */ color: rgb(21, 69, 160);
/* oklch */ color: oklch(41.8% 0.157 261.6);
Tailwind
colors: {
  custom: {
    50: '#6e78bd',
    500: '#1545a0',
    950: '#000000',
  },
}
SCSS
$custom: #1545a0;
$custom-light: #6e78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1545a0",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 219.281,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.15663,
    "h": 261.6
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#1545A0
secondary
#C89C49
accent
#B134F3
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1545A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1545A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva