#150F4B#150F4B

#150F4B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.105 H 278.4°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#150F4B
RGBrgb(21, 15, 75)
HSLhsl(246, 67%, 18%)
HSVhsv(246, 80%, 29%)
CMYKcmyk(72%, 80%, 0%, 70.6%)
CIE-LABlab(9.07, 23.98, -35.97)
CIE-LCHlch(9.07, 43.23, 303.69°)
OKLaboklab(22.64% 0.0153 -0.1038)
OKLCHoklch(22.64% 0.105 278.4)
XYZxyz(1.7497, 1.0089, 6.7578)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4B #454B0F
analogous
#0F274B #150F4B #330F4B
triadic
#150F4B #4B150F #0F4B15
tetradic
#150F4B #4B0F27 #454B0F #0F4B33
square
#150F4B #4B0F27 #454B0F #0F4B33
split-complementary
#150F4B #4B330F #274B0F
monochromatic
#07051A #07051A #150F4B #23197E #3223B1

Accessibility & contrast

On white

17.47
#150F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F4B
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4B#FFFFFF#000000##FFFFFF
##150F4B1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f4b;
/* rgb */ color: rgb(21, 15, 75);
/* oklch */ color: oklch(22.6% 0.105 278.4);
Tailwind
colors: {
  custom: {
    50: '#5b4e7e',
    500: '#150f4b',
    950: '#000000',
  },
}
SCSS
$custom: #150f4b;
$custom-light: #5b4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4b",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 246,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22643,
    "c": 0.10496,
    "h": 278.4
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#150F4B
secondary
#7D8530
accent
#EA3ED8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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