#150F5A#150F5A

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

Color values

HEX#150F5A
RGBrgb(21, 15, 90)
HSLhsl(245, 71%, 21%)
HSVhsv(245, 83%, 35%)
CMYKcmyk(76.7%, 83.3%, 0%, 64.7%)
CIE-LABlab(10.84, 29.44, -43.31)
CIE-LCHlch(10.84, 52.37, 304.21°)
OKLaboklab(24.43% 0.0115 -0.1252)
OKLCHoklch(24.43% 0.126 275.3)
XYZxyz(2.3249, 1.2390, 9.7875)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F5A #545A0F
analogous
#0F2E5A #150F5A #3A0F5A
triadic
#150F5A #5A150F #0F5A15
tetradic
#150F5A #5A0F2E #545A0F #0F5A3A
square
#150F5A #5A0F2E #545A0F #0F5A3A
split-complementary
#150F5A #5A3A0F #2E5A0F
monochromatic
#06041A #090626 #150F5A #21188E #2D20C3

Accessibility & contrast

On white

16.83
#150F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F5A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F5A#FFFFFF#000000##FFFFFF
##150F5A1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205C
Deuteranopia (green-blind)
#001A59
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150f5a;
/* rgb */ color: rgb(21, 15, 90);
/* oklch */ color: oklch(24.4% 0.126 275.3);
Tailwind
colors: {
  custom: {
    50: '#5f4f8a',
    500: '#150f5a',
    950: '#000000',
  },
}
SCSS
$custom: #150f5a;
$custom-light: #5f4f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#150f5a",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 244.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24426,
    "c": 0.12577,
    "h": 275.3
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#150F5A
secondary
#8C9431
accent
#EE3AE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #150F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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