#150C4E#150C4E

#150C4E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.113 H 278.5°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#150C4E
RGBrgb(21, 12, 78)
HSLhsl(248, 73%, 18%)
HSVhsv(248, 85%, 31%)
CMYKcmyk(73.1%, 84.6%, 0%, 69.4%)
CIE-LABlab(8.76, 26.94, -38.56)
CIE-LCHlch(8.76, 47.03, 304.94°)
OKLaboklab(22.53% 0.0166 -0.1114)
OKLCHoklch(22.53% 0.113 278.5)
XYZxyz(1.8154, 0.9723, 7.2982)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4E #454E0C
analogous
#0C244E #150C4E #360C4E
triadic
#150C4E #4E150C #0C4E15
tetradic
#150C4E #4E0C24 #454E0C #0C4E36
square
#150C4E #4E0C24 #454E0C #0C4E36
split-complementary
#150C4E #4E360C #244E0C
monochromatic
#07041B #07041B #150C4E #231483 #321CB8

Accessibility & contrast

On white

17.58
#150C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C4E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4E#FFFFFF#000000##FFFFFF
##150C4E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150c4e;
/* rgb */ color: rgb(21, 12, 78);
/* oklch */ color: oklch(22.5% 0.113 278.5);
Tailwind
colors: {
  custom: {
    50: '#5c4c80',
    500: '#150c4e',
    950: '#000000',
  },
}
SCSS
$custom: #150c4e;
$custom-light: #5c4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4e",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 248.182,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22532,
    "c": 0.11259,
    "h": 278.5
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#150C4E
secondary
#7D8A2C
accent
#F038D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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