#1548B4#1548B4

#1548B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.180 H 262.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1548B4
RGBrgb(21, 72, 180)
HSLhsl(221, 79%, 39%)
HSVhsv(221, 88%, 71%)
CMYKcmyk(88.3%, 60%, 0%, 29.4%)
CIE-LABlab(34.17, 26.41, -61.55)
CIE-LCHlch(34.17, 66.98, 293.22°)
OKLaboklab(44.2% -0.0232 -0.1782)
OKLCHoklch(44.2% 0.18 262.6)
XYZxyz(10.8619, 8.0881, 44.1598)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1548B4 #B48115
analogous
#1597B4 #1548B4 #3215B4
triadic
#1548B4 #B41548 #48B415
tetradic
#1548B4 #B41597 #B48115 #15B432
square
#1548B4 #B41597 #B48115 #15B432
split-complementary
#1548B4 #B43215 #97B415
monochromatic
#081C46 #0F327D #1548B4 #2160E5 #5887EC

Accessibility & contrast

On white

8.02
#1548B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1548B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1548B4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1548B4#FFFFFF#000000##FFFFFF
##1548B41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1548b4;
/* rgb */ color: rgb(21, 72, 180);
/* oklch */ color: oklch(44.2% 0.180 262.6);
Tailwind
colors: {
  custom: {
    50: '#737acb',
    500: '#1548b4',
    950: '#000000',
  },
}
SCSS
$custom: #1548b4;
$custom-light: #737acb;
$custom-dark: #000000;
JSON
{
  "hex": "#1548b4",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 220.755,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44201,
    "c": 0.17968,
    "h": 262.6
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#1548B4
secondary
#CFA856
accent
#B732F6
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1548B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1548B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva