#150E51#150E51

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

Color values

HEX#150E51
RGBrgb(21, 14, 81)
HSLhsl(246, 71%, 19%)
HSVhsv(246, 83%, 32%)
CMYKcmyk(74.1%, 82.7%, 0%, 68.2%)
CIE-LABlab(9.54, 26.81, -39.33)
CIE-LCHlch(9.54, 47.60, 304.28°)
OKLaboklab(23.19% 0.0145 -0.1136)
OKLCHoklch(23.19% 0.115 277.3)
XYZxyz(1.9510, 1.0674, 7.8862)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E51 #4A510E
analogous
#0E2851 #150E51 #360E51
triadic
#150E51 #51150E #0E5115
tetradic
#150E51 #510E28 #4A510E #0E5136
square
#150E51 #510E28 #4A510E #0E5136
split-complementary
#150E51 #51360E #28510E
monochromatic
#07051A #07051D #150E51 #231785 #3020B9

Accessibility & contrast

On white

17.30
#150E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#150E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150E51
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E51#FFFFFF#000000##FFFFFF
##150E511.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150e51;
/* rgb */ color: rgb(21, 14, 81);
/* oklch */ color: oklch(23.2% 0.115 277.3);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#150e51',
    950: '#000000',
  },
}
SCSS
$custom: #150e51;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#150e51",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 246.269,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23189,
    "c": 0.11457,
    "h": 277.3
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#150E51
secondary
#828C2F
accent
#ED3ADB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150E51

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

Preview Lab → · Contrast checker → · Palette generator →

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