#150E5B#150E5B

#150E5B is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.4% C 0.128 H 275.3°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#150E5B
RGBrgb(21, 14, 91)
HSLhsl(245, 73%, 21%)
HSVhsv(245, 85%, 36%)
CMYKcmyk(76.9%, 84.6%, 0%, 64.3%)
CIE-LABlab(10.77, 30.37, -44.11)
CIE-LCHlch(10.77, 53.56, 304.55°)
OKLaboklab(24.41% 0.0118 -0.1275)
OKLCHoklch(24.41% 0.128 275.3)
XYZxyz(2.3540, 1.2286, 10.0086)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E5B #545B0E
analogous
#0E2D5B #150E5B #3B0E5B
triadic
#150E5B #5B150E #0E5B15
tetradic
#150E5B #5B0E2D #545B0E #0E5B3B
square
#150E5B #5B0E2D #545B0E #0E5B3B
split-complementary
#150E5B #5B3B0E #2D5B0E
monochromatic
#06041B #090626 #150E5B #211690 #2D1EC5

Accessibility & contrast

On white

16.86
#150E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E5B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E5B#FFFFFF#000000##FFFFFF
##150E5B1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#00195A
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150e5b;
/* rgb */ color: rgb(21, 14, 91);
/* oklch */ color: oklch(24.4% 0.128 275.3);
Tailwind
colors: {
  custom: {
    50: '#604e8a',
    500: '#150e5b',
    950: '#000000',
  },
}
SCSS
$custom: #150e5b;
$custom-light: #604e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#150e5b",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 245.455,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2441,
    "c": 0.12809,
    "h": 275.3
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#150E5B
secondary
#8C9530
accent
#F038DF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #150E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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