#1535A1#1535A1

#1535A1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.178 H 265.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#1535A1
RGBrgb(21, 53, 161)
HSLhsl(226, 77%, 36%)
HSVhsv(226, 87%, 63%)
CMYKcmyk(87%, 67.1%, 0%, 36.9%)
CIE-LABlab(27.51, 31.69, -61.07)
CIE-LCHlch(27.51, 68.81, 297.42°)
OKLaboklab(38.74% -0.0144 -0.177)
OKLCHoklch(38.74% 0.178 265.3)
XYZxyz(8.0131, 5.2778, 34.3077)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1535A1 #A18115
analogous
#157BA1 #1535A1 #3B15A1
triadic
#1535A1 #A11535 #35A115
tetradic
#1535A1 #A1157B #A18115 #15A13B
square
#1535A1 #A1157B #A18115 #15A13B
split-complementary
#1535A1 #A13B15 #7BA115
monochromatic
#071135 #0E236B #1535A1 #1C47D7 #496DE7

Accessibility & contrast

On white

10.22
#1535A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1535A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1535A1
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1535A1#FFFFFF#000000##FFFFFF
##1535A11.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1535a1;
/* rgb */ color: rgb(21, 53, 161);
/* oklch */ color: oklch(38.7% 0.178 265.3);
Tailwind
colors: {
  custom: {
    50: '#706cbe',
    500: '#1535a1',
    950: '#000000',
  },
}
SCSS
$custom: #1535a1;
$custom-light: #706cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1535a1",
  "rgb": {
    "r": 21,
    "g": 53,
    "b": 161
  },
  "hsl": {
    "h": 226.286,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.1776,
    "h": 265.3
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#1535A1
secondary
#C8AB49
accent
#C834F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1535A1

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

Preview Lab → · Contrast checker → · Palette generator →

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