#150C4F#150C4F

#150C4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.114 H 278.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#150C4F
RGBrgb(21, 12, 79)
HSLhsl(248, 74%, 18%)
HSVhsv(248, 85%, 31%)
CMYKcmyk(73.4%, 84.8%, 0%, 69%)
CIE-LABlab(8.88, 27.29, -39.05)
CIE-LCHlch(8.88, 47.64, 304.95°)
OKLaboklab(22.65% 0.0163 -0.1128)
OKLCHoklch(22.65% 0.114 278.2)
XYZxyz(1.8516, 0.9867, 7.4885)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4F #464F0C
analogous
#0C244F #150C4F #360C4F
triadic
#150C4F #4F150C #0C4F15
tetradic
#150C4F #4F0C24 #464F0C #0C4F36
square
#150C4F #4F0C24 #464F0C #0C4F36
split-complementary
#150C4F #4F360C #244F0C
monochromatic
#07041B #07041B #150C4F #231484 #311CB9

Accessibility & contrast

On white

17.54
#150C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#150C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C4F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4F#FFFFFF#000000##FFFFFF
##150C4F1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00164E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150c4f;
/* rgb */ color: rgb(21, 12, 79);
/* oklch */ color: oklch(22.7% 0.114 278.2);
Tailwind
colors: {
  custom: {
    50: '#5d4c81',
    500: '#150c4f',
    950: '#000000',
  },
}
SCSS
$custom: #150c4f;
$custom-light: #5d4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4f",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 248.06,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22653,
    "c": 0.11397,
    "h": 278.2
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#150C4F
secondary
#7E8B2C
accent
#F038D7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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