#150D58#150D58

#150D58 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.125 H 276.0°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#150D58
RGBrgb(21, 13, 88)
HSLhsl(246, 74%, 20%)
HSVhsv(246, 85%, 35%)
CMYKcmyk(76.1%, 85.2%, 0%, 65.5%)
CIE-LABlab(10.20, 29.89, -43.03)
CIE-LCHlch(10.20, 52.39, 304.78°)
OKLaboklab(23.9% 0.0131 -0.1244)
OKLCHoklch(23.9% 0.125 276)
XYZxyz(2.2141, 1.1516, 9.3362)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D58 #50580D
analogous
#0D2B58 #150D58 #3B0D58
triadic
#150D58 #58150D #0D5815
tetradic
#150D58 #580D2B #50580D #0D583B
square
#150D58 #580D2B #50580D #0D583B
split-complementary
#150D58 #583B0D #2B580D
monochromatic
#06041B #080523 #150D58 #22158D #2E1DC3

Accessibility & contrast

On white

17.07
#150D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#150D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D58
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D58#FFFFFF#000000##FFFFFF
##150D581.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #150d58;
/* rgb */ color: rgb(21, 13, 88);
/* oklch */ color: oklch(23.9% 0.125 276.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e88',
    500: '#150d58',
    950: '#000000',
  },
}
SCSS
$custom: #150d58;
$custom-light: #5f4e88;
$custom-dark: #000000;
JSON
{
  "hex": "#150d58",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 246.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23901,
    "c": 0.12508,
    "h": 276
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#150D58
secondary
#88932E
accent
#F137DD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C

Preview Lab

Preview with #150D58

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

Preview Lab → · Contrast checker → · Palette generator →

#150D58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva