#1532A1#1532A1

#1532A1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.181 H 265.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1532A1
RGBrgb(21, 50, 161)
HSLhsl(228, 77%, 36%)
HSVhsv(228, 87%, 63%)
CMYKcmyk(87%, 68.9%, 0%, 36.9%)
CIE-LABlab(26.77, 33.67, -62.29)
CIE-LCHlch(26.77, 70.81, 298.39°)
OKLaboklab(38.2% -0.0132 -0.1806)
OKLCHoklch(38.2% 0.181 265.8)
XYZxyz(7.8806, 5.0129, 34.2635)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1532A1 #A18415
analogous
#1578A1 #1532A1 #3E15A1
triadic
#1532A1 #A11532 #32A115
tetradic
#1532A1 #A11578 #A18415 #15A13E
square
#1532A1 #A11578 #A18415 #15A13E
split-complementary
#1532A1 #A13E15 #78A115
monochromatic
#071035 #0E216B #1532A1 #1C43D7 #496AE7

Accessibility & contrast

On white

10.49
#1532A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1532A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1532A1
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1532A1#FFFFFF#000000##FFFFFF
##1532A11.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1532a1;
/* rgb */ color: rgb(21, 50, 161);
/* oklch */ color: oklch(38.2% 0.181 265.8);
Tailwind
colors: {
  custom: {
    50: '#706abe',
    500: '#1532a1',
    950: '#000000',
  },
}
SCSS
$custom: #1532a1;
$custom-light: #706abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1532a1",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 227.571,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.18107,
    "h": 265.8
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#1532A1
secondary
#C8AE49
accent
#CC34F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1532A1

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

Preview Lab → · Contrast checker → · Palette generator →

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