#150F50#150F50

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

Color values

HEX#150F50
RGBrgb(21, 15, 80)
HSLhsl(246, 68%, 19%)
HSVhsv(246, 81%, 31%)
CMYKcmyk(73.7%, 81.3%, 0%, 68.6%)
CIE-LABlab(9.64, 25.83, -38.48)
CIE-LCHlch(9.64, 46.34, 303.87°)
OKLaboklab(23.22% 0.0141 -0.1112)
OKLCHoklch(23.22% 0.112 277.2)
XYZxyz(1.9276, 1.0801, 7.6948)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F50 #4A500F
analogous
#0F2950 #150F50 #350F50
triadic
#150F50 #50150F #0F5015
tetradic
#150F50 #500F29 #4A500F #0F5035
square
#150F50 #500F29 #4A500F #0F5035
split-complementary
#150F50 #50350F #29500F
monochromatic
#07051A #07051C #150F50 #231984 #3022B7

Accessibility & contrast

On white

17.27
#150F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F50
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F50#FFFFFF#000000##FFFFFF
##150F501.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f50;
/* rgb */ color: rgb(21, 15, 80);
/* oklch */ color: oklch(23.2% 0.112 277.2);
Tailwind
colors: {
  custom: {
    50: '#5d4e82',
    500: '#150f50',
    950: '#000000',
  },
}
SCSS
$custom: #150f50;
$custom-light: #5d4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#150f50",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 245.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23224,
    "c": 0.11206,
    "h": 277.2
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#150F50
secondary
#828A31
accent
#EB3DDB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150F50

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

Preview Lab → · Contrast checker → · Palette generator →

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