#1531A0#1531A0

#1531A0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.181 H 266.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1531A0
RGBrgb(21, 49, 160)
HSLhsl(228, 77%, 35%)
HSVhsv(228, 87%, 63%)
CMYKcmyk(86.9%, 69.4%, 0%, 37.3%)
CIE-LABlab(26.43, 33.94, -62.25)
CIE-LCHlch(26.43, 70.90, 298.60°)
OKLaboklab(37.92% -0.0127 -0.1805)
OKLCHoklch(37.92% 0.181 266)
XYZxyz(7.7505, 4.8931, 33.7869)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1531A0 #A08415
analogous
#1576A0 #1531A0 #3F15A0
triadic
#1531A0 #A01531 #31A015
tetradic
#1531A0 #A01576 #A08415 #15A03F
square
#1531A0 #A01576 #A08415 #15A03F
split-complementary
#1531A0 #A03F15 #76A015
monochromatic
#071034 #0E206A #1531A0 #1C42D6 #4868E7

Accessibility & contrast

On white

10.61
#1531A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1531A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1531A0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1531A0#FFFFFF#000000##FFFFFF
##1531A01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1531a0;
/* rgb */ color: rgb(21, 49, 160);
/* oklch */ color: oklch(37.9% 0.181 266.0);
Tailwind
colors: {
  custom: {
    50: '#7069bd',
    500: '#1531a0',
    950: '#000000',
  },
}
SCSS
$custom: #1531a0;
$custom-light: #7069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1531a0",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 227.914,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.18092,
    "h": 266
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#1531A0
secondary
#C8AE49
accent
#CD34F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1531A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1531A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva