#150E50#150E50

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

Color values

HEX#150E50
RGBrgb(21, 14, 80)
HSLhsl(246, 70%, 18%)
HSVhsv(246, 83%, 31%)
CMYKcmyk(73.7%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.42, 26.45, -38.84)
CIE-LCHlch(9.42, 46.99, 304.26°)
OKLaboklab(23.07% 0.0148 -0.1122)
OKLCHoklch(23.07% 0.113 277.5)
XYZxyz(1.9138, 1.0525, 7.6902)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E50 #49500E
analogous
#0E2850 #150E50 #360E50
triadic
#150E50 #50150E #0E5015
tetradic
#150E50 #500E28 #49500E #0E5036
square
#150E50 #500E28 #49500E #0E5036
split-complementary
#150E50 #50360E #28500E
monochromatic
#07051A #07051C #150E50 #231784 #3020B8

Accessibility & contrast

On white

17.35
#150E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E50
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E50#FFFFFF#000000##FFFFFF
##150E501.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150e50;
/* rgb */ color: rgb(21, 14, 80);
/* oklch */ color: oklch(23.1% 0.113 277.5);
Tailwind
colors: {
  custom: {
    50: '#5d4e82',
    500: '#150e50',
    950: '#000000',
  },
}
SCSS
$custom: #150e50;
$custom-light: #5d4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#150e50",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 246.364,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23069,
    "c": 0.11318,
    "h": 277.5
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#150E50
secondary
#818B2F
accent
#ED3BDA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150E50

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

Preview Lab → · Contrast checker → · Palette generator →

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