#150F5B#150F5B

#150F5B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.127 H 275.1°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#150F5B
RGBrgb(21, 15, 91)
HSLhsl(245, 72%, 21%)
HSVhsv(245, 84%, 36%)
CMYKcmyk(76.9%, 83.5%, 0%, 64.3%)
CIE-LABlab(10.97, 29.80, -43.78)
CIE-LCHlch(10.97, 52.96, 304.24°)
OKLaboklab(24.55% 0.0113 -0.1266)
OKLCHoklch(24.55% 0.127 275.1)
XYZxyz(2.3678, 1.2562, 10.0132)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F5B #555B0F
analogous
#0F2F5B #150F5B #3B0F5B
triadic
#150F5B #5B150F #0F5B15
tetradic
#150F5B #5B0F2F #555B0F #0F5B3B
square
#150F5B #5B0F2F #555B0F #0F5B3B
split-complementary
#150F5B #5B3B0F #2F5B0F
monochromatic
#06041A #090626 #150F5B #211890 #2D20C4

Accessibility & contrast

On white

16.78
#150F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#150F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F5B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F5B#FFFFFF#000000##FFFFFF
##150F5B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001A5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150f5b;
/* rgb */ color: rgb(21, 15, 91);
/* oklch */ color: oklch(24.5% 0.127 275.1);
Tailwind
colors: {
  custom: {
    50: '#604f8a',
    500: '#150f5b',
    950: '#000000',
  },
}
SCSS
$custom: #150f5b;
$custom-light: #604f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#150f5b",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 244.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24549,
    "c": 0.12711,
    "h": 275.1
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#150F5B
secondary
#8D9531
accent
#EE39E0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #150F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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