#150F52#150F52

#150F52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.115 H 276.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#150F52
RGBrgb(21, 15, 82)
HSLhsl(245, 69%, 19%)
HSVhsv(245, 82%, 32%)
CMYKcmyk(74.4%, 81.7%, 0%, 67.8%)
CIE-LABlab(9.88, 26.56, -39.46)
CIE-LCHlch(9.88, 47.57, 303.94°)
OKLaboklab(23.46% 0.0136 -0.114)
OKLCHoklch(23.46% 0.115 276.8)
XYZxyz(2.0026, 1.1101, 8.0897)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F52 #4C520F
analogous
#0F2B52 #150F52 #370F52
triadic
#150F52 #52150F #0F5215
tetradic
#150F52 #520F2B #4C520F #0F5237
square
#150F52 #520F2B #4C520F #0F5237
split-complementary
#150F52 #52370F #2B520F
monochromatic
#07051A #08061E #150F52 #221886 #2F22B9

Accessibility & contrast

On white

17.18
#150F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F52
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F52#FFFFFF#000000##FFFFFF
##150F521.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f52;
/* rgb */ color: rgb(21, 15, 82);
/* oklch */ color: oklch(23.5% 0.115 276.8);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#150f52',
    950: '#000000',
  },
}
SCSS
$custom: #150f52;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#150f52",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 245.373,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23461,
    "c": 0.11485,
    "h": 276.8
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#150F52
secondary
#848C31
accent
#EC3CDC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F52

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

Preview Lab → · Contrast checker → · Palette generator →

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