#150E52#150E52

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

Color values

HEX#150E52
RGBrgb(21, 14, 82)
HSLhsl(246, 71%, 19%)
HSVhsv(246, 83%, 32%)
CMYKcmyk(74.4%, 82.9%, 0%, 67.8%)
CIE-LABlab(9.66, 27.17, -39.82)
CIE-LCHlch(9.66, 48.21, 304.31°)
OKLaboklab(23.31% 0.0143 -0.1151)
OKLCHoklch(23.31% 0.116 277.1)
XYZxyz(1.9888, 1.0825, 8.0851)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E52 #4B520E
analogous
#0E2952 #150E52 #370E52
triadic
#150E52 #52150E #0E5215
tetradic
#150E52 #520E29 #4B520E #0E5237
square
#150E52 #520E29 #4B520E #0E5237
split-complementary
#150E52 #52370E #29520E
monochromatic
#07041A #08051E #150E52 #221786 #3020BB

Accessibility & contrast

On white

17.26
#150E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E52
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E52#FFFFFF#000000##FFFFFF
##150E521.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.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: #150e52;
/* rgb */ color: rgb(21, 14, 82);
/* oklch */ color: oklch(23.3% 0.116 277.1);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#150e52',
    950: '#000000',
  },
}
SCSS
$custom: #150e52;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#150e52",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 246.176,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23309,
    "c": 0.11595,
    "h": 277.1
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#150E52
secondary
#838C2F
accent
#EE3ADB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150E52

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

Preview Lab → · Contrast checker → · Palette generator →

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