#150E54#150E54

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

Color values

HEX#150E54
RGBrgb(21, 14, 84)
HSLhsl(246, 71%, 19%)
HSVhsv(246, 83%, 33%)
CMYKcmyk(75%, 83.3%, 0%, 67.1%)
CIE-LABlab(9.90, 27.89, -40.79)
CIE-LCHlch(9.90, 49.41, 304.36°)
OKLaboklab(23.55% 0.0137 -0.1179)
OKLCHoklch(23.55% 0.119 276.6)
XYZxyz(2.0660, 1.1134, 8.4918)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E54 #4D540E
analogous
#0E2A54 #150E54 #380E54
triadic
#150E54 #54150E #0E5415
tetradic
#150E54 #540E2A #4D540E #0E5438
square
#150E54 #540E2A #4D540E #0E5438
split-complementary
#150E54 #54380E #2A540E
monochromatic
#07041A #080520 #150E54 #221788 #2F1FBD

Accessibility & contrast

On white

17.17
#150E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E54
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E54#FFFFFF#000000##FFFFFF
##150E541.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150e54;
/* rgb */ color: rgb(21, 14, 84);
/* oklch */ color: oklch(23.5% 0.119 276.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e85',
    500: '#150e54',
    950: '#000000',
  },
}
SCSS
$custom: #150e54;
$custom-light: #5e4e85;
$custom-dark: #000000;
JSON
{
  "hex": "#150e54",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2355,
    "c": 0.11868,
    "h": 276.6
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#150E54
secondary
#858E2F
accent
#EE3ADC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150E54

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

Preview Lab → · Contrast checker → · Palette generator →

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