#1536B4#1536B4

#1536B4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 40.9% C 0.201 H 265.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1536B4
RGBrgb(21, 54, 180)
HSLhsl(228, 79%, 39%)
HSVhsv(228, 88%, 71%)
CMYKcmyk(88.3%, 70%, 0%, 29.4%)
CIE-LABlab(29.64, 38.23, -68.97)
CIE-LCHlch(29.64, 78.86, 299.00°)
OKLaboklab(40.86% -0.0157 -0.2)
OKLCHoklch(40.86% 0.201 265.5)
XYZxyz(9.8637, 6.0918, 43.8271)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1536B4 #B49315
analogous
#1586B4 #1536B4 #4415B4
triadic
#1536B4 #B41536 #36B415
tetradic
#1536B4 #B41586 #B49315 #15B444
square
#1536B4 #B41586 #B49315 #15B444
split-complementary
#1536B4 #B44415 #86B415
monochromatic
#081546 #0F267D #1536B4 #214AE5 #5877EC

Accessibility & contrast

On white

9.47
#1536B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1536B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1536B4
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1536B4#FFFFFF#000000##FFFFFF
##1536B41.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1536b4;
/* rgb */ color: rgb(21, 54, 180);
/* oklch */ color: oklch(40.9% 0.201 265.5);
Tailwind
colors: {
  custom: {
    50: '#756dcc',
    500: '#1536b4',
    950: '#000000',
  },
}
SCSS
$custom: #1536b4;
$custom-light: #756dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1536b4",
  "rgb": {
    "r": 21,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 227.547,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.20066,
    "h": 265.5
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#1536B4
secondary
#CFB656
accent
#CD32F6
background
#F7F6FC
surface
#EEEBF9
border
#C9C6D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1536B4

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

Preview Lab → · Contrast checker → · Palette generator →

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