#150E57#150E57

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

Color values

HEX#150E57
RGBrgb(21, 14, 87)
HSLhsl(246, 72%, 20%)
HSVhsv(246, 84%, 34%)
CMYKcmyk(75.9%, 83.9%, 0%, 65.9%)
CIE-LABlab(10.27, 28.96, -42.23)
CIE-LCHlch(10.27, 51.20, 304.44°)
OKLaboklab(23.92% 0.0129 -0.1221)
OKLCHoklch(23.92% 0.123 276)
XYZxyz(2.1860, 1.1614, 9.1239)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E57 #50570E
analogous
#0E2C57 #150E57 #390E57
triadic
#150E57 #57150E #0E5715
tetradic
#150E57 #570E2C #50570E #0E5739
square
#150E57 #570E2C #50570E #0E5739
split-complementary
#150E57 #57390E #2C570E
monochromatic
#06041A #080622 #150E57 #22168C #2E1FC0

Accessibility & contrast

On white

17.04
#150E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E57
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E57#FFFFFF#000000##FFFFFF
##150E571.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150e57;
/* rgb */ color: rgb(21, 14, 87);
/* oklch */ color: oklch(23.9% 0.123 276.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e87',
    500: '#150e57',
    950: '#000000',
  },
}
SCSS
$custom: #150e57;
$custom-light: #5f4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#150e57",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 245.753,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23916,
    "c": 0.12275,
    "h": 276
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#150E57
secondary
#889130
accent
#EF39DE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #150E57

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

Preview Lab → · Contrast checker → · Palette generator →

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