#150780#150780

#150780 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.178 H 270.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#150780
RGBrgb(21, 7, 128)
HSLhsl(247, 90%, 26%)
HSVhsv(247, 95%, 50%)
CMYKcmyk(83.6%, 94.5%, 0%, 49.8%)
CIE-LABlab(14.79, 45.19, -61.65)
CIE-LCHlch(14.79, 76.44, 306.24°)
OKLaboklab(28.6% 0.0024 -0.1782)
OKLCHoklch(28.6% 0.178 270.8)
XYZxyz(4.2802, 1.8694, 20.5531)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150780 #728007
analogous
#073680 #150780 #520780
triadic
#150780 #801507 #078015
tetradic
#150780 #800736 #728007 #078052
square
#150780 #800736 #728007 #078052
split-complementary
#150780 #805207 #368007
monochromatic
#05021D #0B0446 #150780 #1F0ABA #2A0FF2

Accessibility & contrast

On white

15.28
#150780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#150780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150780
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150780#FFFFFF#000000##FFFFFF
##1507801.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B83
Deuteranopia (green-blind)
#001F7E
Tritanopia (blue-blind)
#003349
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #150780;
/* rgb */ color: rgb(21, 7, 128);
/* oklch */ color: oklch(28.6% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b4fa6',
    500: '#150780',
    950: '#000000',
  },
}
SCSS
$custom: #150780;
$custom-light: #6b4fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#150780",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 128
  },
  "hsl": {
    "h": 246.942,
    "s": 89.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28595,
    "c": 0.17818,
    "h": 270.8
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#150780
secondary
#A8B92A
accent
#FF29E6
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080210
muted
#7B787F

Preview Lab

Preview with #150780

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

Preview Lab → · Contrast checker → · Palette generator →

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