#1532B4#1532B4

#1532B4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.2% C 0.205 H 265.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1532B4
RGBrgb(21, 50, 180)
HSLhsl(229, 79%, 39%)
HSVhsv(229, 88%, 71%)
CMYKcmyk(88.3%, 72.2%, 0%, 29.4%)
CIE-LABlab(28.73, 40.72, -70.48)
CIE-LCHlch(28.73, 81.40, 300.02°)
OKLaboklab(40.2% -0.0145 -0.2044)
OKLCHoklch(40.2% 0.205 265.9)
XYZxyz(9.6852, 5.7347, 43.7676)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1532B4 #B49715
analogous
#1581B4 #1532B4 #4815B4
triadic
#1532B4 #B41532 #32B415
tetradic
#1532B4 #B41581 #B49715 #15B448
square
#1532B4 #B41581 #B49715 #15B448
split-complementary
#1532B4 #B44815 #81B415
monochromatic
#081446 #0F237D #1532B4 #2145E5 #5873EC

Accessibility & contrast

On white

9.78
#1532B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1532B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1532B4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1532B4#FFFFFF#000000##FFFFFF
##1532B41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1532b4;
/* rgb */ color: rgb(21, 50, 180);
/* oklch */ color: oklch(40.2% 0.205 265.9);
Tailwind
colors: {
  custom: {
    50: '#756acc',
    500: '#1532b4',
    950: '#000000',
  },
}
SCSS
$custom: #1532b4;
$custom-light: #756acc;
$custom-dark: #000000;
JSON
{
  "hex": "#1532b4",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 229.057,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.20492,
    "h": 265.9
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#1532B4
secondary
#CFB956
accent
#D232F6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1532B4

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

Preview Lab → · Contrast checker → · Palette generator →

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