#150F4D#150F4D

#150F4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.108 H 277.9°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#150F4D
RGBrgb(21, 15, 77)
HSLhsl(246, 67%, 18%)
HSVhsv(246, 81%, 30%)
CMYKcmyk(72.7%, 80.5%, 0%, 69.8%)
CIE-LABlab(9.29, 24.72, -36.98)
CIE-LCHlch(9.29, 44.48, 303.76°)
OKLaboklab(22.87% 0.0149 -0.1068)
OKLCHoklch(22.87% 0.108 277.9)
XYZxyz(1.8192, 1.0367, 7.1240)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4D #474D0F
analogous
#0F284D #150F4D #340F4D
triadic
#150F4D #4D150F #0F4D15
tetradic
#150F4D #4D0F28 #474D0F #0F4D34
square
#150F4D #4D0F28 #474D0F #0F4D34
split-complementary
#150F4D #4D340F #284D0F
monochromatic
#07051A #07051A #150F4D #231980 #3123B3

Accessibility & contrast

On white

17.39
#150F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F4D
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4D#FFFFFF#000000##FFFFFF
##150F4D1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150f4d;
/* rgb */ color: rgb(21, 15, 77);
/* oklch */ color: oklch(22.9% 0.108 277.9);
Tailwind
colors: {
  custom: {
    50: '#5c4e80',
    500: '#150f4d',
    950: '#000000',
  },
}
SCSS
$custom: #150f4d;
$custom-light: #5c4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4d",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 245.806,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22874,
    "c": 0.10783,
    "h": 277.9
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#150F4D
secondary
#7F8731
accent
#EA3EDA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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