#1539B4#1539B4

#1539B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.197 H 265.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1539B4
RGBrgb(21, 57, 180)
HSLhsl(226, 79%, 39%)
HSVhsv(226, 88%, 71%)
CMYKcmyk(88.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(30.35, 36.31, -67.81)
CIE-LCHlch(30.35, 76.92, 298.17°)
OKLaboklab(41.38% -0.0167 -0.1966)
OKLCHoklch(41.38% 0.197 265.1)
XYZxyz(10.0077, 6.3797, 43.8751)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1539B4 #B49015
analogous
#1589B4 #1539B4 #4115B4
triadic
#1539B4 #B41539 #39B415
tetradic
#1539B4 #B41589 #B49015 #15B441
square
#1539B4 #B41589 #B49015 #15B441
split-complementary
#1539B4 #B44115 #89B415
monochromatic
#081646 #0F287D #1539B4 #214DE5 #5879EC

Accessibility & contrast

On white

9.23
#1539B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1539B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1539B4
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1539B4#FFFFFF#000000##FFFFFF
##1539B41.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1539b4;
/* rgb */ color: rgb(21, 57, 180);
/* oklch */ color: oklch(41.4% 0.197 265.1);
Tailwind
colors: {
  custom: {
    50: '#756fcc',
    500: '#1539b4',
    950: '#000000',
  },
}
SCSS
$custom: #1539b4;
$custom-light: #756fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1539b4",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 226.415,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.19734,
    "h": 265.1
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#1539B4
secondary
#CFB356
accent
#C932F6
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1539B4

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

Preview Lab → · Contrast checker → · Palette generator →

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