#1534B4#1534B4

#1534B4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.5% C 0.203 H 265.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#1534B4
RGBrgb(21, 52, 180)
HSLhsl(228, 79%, 39%)
HSVhsv(228, 88%, 71%)
CMYKcmyk(88.3%, 71.1%, 0%, 29.4%)
CIE-LABlab(29.18, 39.49, -69.73)
CIE-LCHlch(29.18, 80.14, 299.52°)
OKLaboklab(40.53% -0.0151 -0.2023)
OKLCHoklch(40.53% 0.203 265.7)
XYZxyz(9.7726, 5.9094, 43.7967)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1534B4 #B49515
analogous
#1584B4 #1534B4 #4615B4
triadic
#1534B4 #B41534 #34B415
tetradic
#1534B4 #B41584 #B49515 #15B446
square
#1534B4 #B41584 #B49515 #15B446
split-complementary
#1534B4 #B44615 #84B415
monochromatic
#081446 #0F247D #1534B4 #2147E5 #5875EC

Accessibility & contrast

On white

9.62
#1534B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1534B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1534B4
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1534B4#FFFFFF#000000##FFFFFF
##1534B41.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1534b4;
/* rgb */ color: rgb(21, 52, 180);
/* oklch */ color: oklch(40.5% 0.203 265.7);
Tailwind
colors: {
  custom: {
    50: '#756ccc',
    500: '#1534b4',
    950: '#000000',
  },
}
SCSS
$custom: #1534b4;
$custom-light: #756ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#1534b4",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 228.302,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.20281,
    "h": 265.7
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#1534B4
secondary
#CFB756
accent
#CF32F6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1534B4

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

Preview Lab → · Contrast checker → · Palette generator →

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