#150D5E#150D5E

#150D5E is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.133 H 274.9°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#150D5E
RGBrgb(21, 13, 94)
HSLhsl(246, 76%, 21%)
HSVhsv(246, 86%, 37%)
CMYKcmyk(77.7%, 86.2%, 0%, 63.1%)
CIE-LABlab(10.96, 31.96, -45.81)
CIE-LCHlch(10.96, 55.86, 304.90°)
OKLaboklab(24.65% 0.0113 -0.1325)
OKLCHoklch(24.65% 0.133 274.9)
XYZxyz(2.4729, 1.2552, 10.6995)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D5E #565E0D
analogous
#0D2D5E #150D5E #3D0D5E
triadic
#150D5E #5E150D #0D5E15
tetradic
#150D5E #5E0D2D #565E0D #0D5E3D
square
#150D5E #5E0D2D #565E0D #0D5E3D
split-complementary
#150D5E #5E3D0D #2D5E0D
monochromatic
#06041B #090628 #150D5E #211494 #2D1CCA

Accessibility & contrast

On white

16.79
#150D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D5E
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D5E#FFFFFF#000000##FFFFFF
##150D5E1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#001A5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150d5e;
/* rgb */ color: rgb(21, 13, 94);
/* oklch */ color: oklch(24.7% 0.133 274.9);
Tailwind
colors: {
  custom: {
    50: '#614e8d',
    500: '#150d5e',
    950: '#000000',
  },
}
SCSS
$custom: #150d5e;
$custom-light: #614e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#150d5e",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 245.926,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24655,
    "c": 0.13295,
    "h": 274.9
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#150D5E
secondary
#8E982F
accent
#F236E0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #150D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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