#1530B4#1530B4

#1530B4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 39.9% C 0.207 H 266.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#1530B4
RGBrgb(21, 48, 180)
HSLhsl(230, 79%, 39%)
HSVhsv(230, 88%, 71%)
CMYKcmyk(88.3%, 73.3%, 0%, 29.4%)
CIE-LABlab(28.29, 41.94, -71.20)
CIE-LCHlch(28.29, 82.64, 300.50°)
OKLaboklab(39.89% -0.014 -0.2065)
OKLCHoklch(39.89% 0.207 266.1)
XYZxyz(9.6016, 5.5674, 43.7397)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1530B4 #B49915
analogous
#1580B4 #1530B4 #4915B4
triadic
#1530B4 #B41530 #30B415
tetradic
#1530B4 #B41580 #B49915 #15B449
square
#1530B4 #B41580 #B49915 #15B449
split-complementary
#1530B4 #B44915 #80B415
monochromatic
#081346 #0F217D #1530B4 #2142E5 #5871EC

Accessibility & contrast

On white

9.93
#1530B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1530B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1530B4
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1530B4#FFFFFF#000000##FFFFFF
##1530B41.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1530b4;
/* rgb */ color: rgb(21, 48, 180);
/* oklch */ color: oklch(39.9% 0.207 266.1);
Tailwind
colors: {
  custom: {
    50: '#7569cc',
    500: '#1530b4',
    950: '#000000',
  },
}
SCSS
$custom: #1530b4;
$custom-light: #7569cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1530b4",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 229.811,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.20697,
    "h": 266.1
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#1530B4
secondary
#CFBA56
accent
#D432F6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1530B4

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

Preview Lab → · Contrast checker → · Palette generator →

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