#150F51#150F51

#150F51 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.113 H 277.0°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#150F51
RGBrgb(21, 15, 81)
HSLhsl(245, 69%, 19%)
HSVhsv(245, 81%, 32%)
CMYKcmyk(74.1%, 81.5%, 0%, 68.2%)
CIE-LABlab(9.76, 26.19, -38.97)
CIE-LCHlch(9.76, 46.96, 303.91°)
OKLaboklab(23.34% 0.0139 -0.1126)
OKLCHoklch(23.34% 0.113 277)
XYZxyz(1.9648, 1.0950, 7.8908)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F51 #4B510F
analogous
#0F2A51 #150F51 #360F51
triadic
#150F51 #51150F #0F5115
tetradic
#150F51 #510F2A #4B510F #0F5136
square
#150F51 #510F2A #4B510F #0F5136
split-complementary
#150F51 #51360F #2A510F
monochromatic
#07051A #08051D #150F51 #221985 #3022B8

Accessibility & contrast

On white

17.23
#150F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#150F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F51
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F51#FFFFFF#000000##FFFFFF
##150F511.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150f51;
/* rgb */ color: rgb(21, 15, 81);
/* oklch */ color: oklch(23.3% 0.113 277.0);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#150f51',
    950: '#000000',
  },
}
SCSS
$custom: #150f51;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#150f51",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 245.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23342,
    "c": 0.11346,
    "h": 277
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#150F51
secondary
#838B31
accent
#EC3CDC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F51

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

Preview Lab → · Contrast checker → · Palette generator →

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