#152580#152580

#152580 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.153 H 268.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#152580
RGBrgb(21, 37, 128)
HSLhsl(231, 72%, 29%)
HSVhsv(231, 84%, 50%)
CMYKcmyk(83.6%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.21, 29.60, -52.67)
CIE-LCHlch(20.21, 60.41, 299.34°)
OKLaboklab(32.4% -0.0054 -0.1526)
OKLCHoklch(32.4% 0.153 268)
XYZxyz(4.8658, 3.0405, 20.7483)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152580 #807015
analogous
#155B80 #152580 #3B1580
triadic
#152580 #801525 #258015
tetradic
#152580 #80155B #807015 #15803B
square
#152580 #80155B #807015 #15803B
split-complementary
#152580 #803B15 #5B8015
monochromatic
#04081A #0C164B #152580 #1E34B5 #324CDD

Accessibility & contrast

On white

13.06
#152580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152580
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152580#FFFFFF#000000##FFFFFF
##1525801.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152580;
/* rgb */ color: rgb(21, 37, 128);
/* oklch */ color: oklch(32.4% 0.153 268.0);
Tailwind
colors: {
  custom: {
    50: '#685fa6',
    500: '#152580',
    950: '#000000',
  },
}
SCSS
$custom: #152580;
$custom-light: #685fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#152580",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 231.028,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.324,
    "c": 0.15268,
    "h": 268
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#152580
secondary
#B5A33C
accent
#D339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #152580

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

Preview Lab → · Contrast checker → · Palette generator →

#152580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva