#1534A1#1534A1

#1534A1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.179 H 265.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1534A1
RGBrgb(21, 52, 161)
HSLhsl(227, 77%, 36%)
HSVhsv(227, 87%, 63%)
CMYKcmyk(87%, 67.7%, 0%, 36.9%)
CIE-LABlab(27.26, 32.35, -61.48)
CIE-LCHlch(27.26, 69.48, 297.75°)
OKLaboklab(38.56% -0.014 -0.1782)
OKLCHoklch(38.56% 0.179 265.5)
XYZxyz(7.9680, 5.1876, 34.2927)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1534A1 #A18215
analogous
#157AA1 #1534A1 #3C15A1
triadic
#1534A1 #A11534 #34A115
tetradic
#1534A1 #A1157A #A18215 #15A13C
square
#1534A1 #A1157A #A18215 #15A13C
split-complementary
#1534A1 #A13C15 #7AA115
monochromatic
#071135 #0E236B #1534A1 #1C45D7 #496CE7

Accessibility & contrast

On white

10.31
#1534A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1534A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1534A1
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1534A1#FFFFFF#000000##FFFFFF
##1534A11.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1534a1;
/* rgb */ color: rgb(21, 52, 161);
/* oklch */ color: oklch(38.6% 0.179 265.5);
Tailwind
colors: {
  custom: {
    50: '#706bbe',
    500: '#1534a1',
    950: '#000000',
  },
}
SCSS
$custom: #1534a1;
$custom-light: #706bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1534a1",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 226.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.17877,
    "h": 265.5
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#1534A1
secondary
#C8AC49
accent
#C934F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1534A1

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

Preview Lab → · Contrast checker → · Palette generator →

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