#1530A1#1530A1

#1530A1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.183 H 266.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#1530A1
RGBrgb(21, 48, 161)
HSLhsl(228, 77%, 36%)
HSVhsv(228, 87%, 63%)
CMYKcmyk(87%, 70.2%, 0%, 36.9%)
CIE-LABlab(26.29, 34.97, -63.08)
CIE-LCHlch(26.29, 72.13, 299.00°)
OKLaboklab(37.85% -0.0124 -0.1829)
OKLCHoklch(37.85% 0.183 266.1)
XYZxyz(7.7970, 4.8456, 34.2356)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1530A1 #A18615
analogous
#1576A1 #1530A1 #4015A1
triadic
#1530A1 #A11530 #30A115
tetradic
#1530A1 #A11576 #A18615 #15A140
square
#1530A1 #A11576 #A18615 #15A140
split-complementary
#1530A1 #A14015 #76A115
monochromatic
#071035 #0E206B #1530A1 #1C40D7 #4968E7

Accessibility & contrast

On white

10.66
#1530A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1530A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1530A1
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1530A1#FFFFFF#000000##FFFFFF
##1530A11.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1530a1;
/* rgb */ color: rgb(21, 48, 161);
/* oklch */ color: oklch(37.8% 0.183 266.1);
Tailwind
colors: {
  custom: {
    50: '#7068be',
    500: '#1530a1',
    950: '#000000',
  },
}
SCSS
$custom: #1530a1;
$custom-light: #7068be;
$custom-dark: #000000;
JSON
{
  "hex": "#1530a1",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 228.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.18333,
    "h": 266.1
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#1530A1
secondary
#C8B049
accent
#CF34F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1530A1

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

Preview Lab → · Contrast checker → · Palette generator →

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