#150F57#150F57

#150F57 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.122 H 275.8°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#150F57
RGBrgb(21, 15, 87)
HSLhsl(245, 71%, 20%)
HSVhsv(245, 83%, 34%)
CMYKcmyk(75.9%, 82.8%, 0%, 65.9%)
CIE-LABlab(10.48, 28.37, -41.89)
CIE-LCHlch(10.48, 50.59, 304.11°)
OKLaboklab(24.06% 0.0123 -0.1211)
OKLCHoklch(24.06% 0.122 275.8)
XYZxyz(2.1998, 1.1890, 9.1285)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F57 #51570F
analogous
#0F2D57 #150F57 #390F57
triadic
#150F57 #57150F #0F5715
tetradic
#150F57 #570F2D #51570F #0F5739
square
#150F57 #570F2D #51570F #0F5739
split-complementary
#150F57 #57390F #2D570F
monochromatic
#06051A #080623 #150F57 #22188B #2E21BF

Accessibility & contrast

On white

16.97
#150F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#150F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F57
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F57#FFFFFF#000000##FFFFFF
##150F571.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #150f57;
/* rgb */ color: rgb(21, 15, 87);
/* oklch */ color: oklch(24.1% 0.122 275.8);
Tailwind
colors: {
  custom: {
    50: '#5f4f87',
    500: '#150f57',
    950: '#000000',
  },
}
SCSS
$custom: #150f57;
$custom-light: #5f4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#150f57",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 245,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24061,
    "c": 0.12172,
    "h": 275.8
  },
  "luminance": 0.01189
}

Semantic roles & 50–950 ramp

primary
#150F57
secondary
#899131
accent
#ED3ADE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F57

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

Preview Lab → · Contrast checker → · Palette generator →

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