#151D48#151D48

#151D48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.081 H 271.5°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#151D48
RGBrgb(21, 29, 72)
HSLhsl(231, 55%, 18%)
HSVhsv(231, 71%, 28%)
CMYKcmyk(70.8%, 59.7%, 0%, 71.8%)
CIE-LABlab(12.65, 12.65, -28.05)
CIE-LCHlch(12.65, 30.77, 294.28°)
OKLaboklab(25.18% 0.0021 -0.0805)
OKLCHoklch(25.18% 0.081 271.5)
XYZxyz(1.9179, 1.5059, 6.3192)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D48 #484015
analogous
#153648 #151D48 #261548
triadic
#151D48 #48151D #1D4815
tetradic
#151D48 #481536 #484015 #154826
square
#151D48 #481536 #484015 #154826
split-complementary
#151D48 #482615 #364815
monochromatic
#070A18 #070A19 #151D48 #233077 #3143A7

Accessibility & contrast

On white

16.14
#151D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D48
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D48#FFFFFF#000000##FFFFFF
##151D481.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03234A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151d48;
/* rgb */ color: rgb(21, 29, 72);
/* oklch */ color: oklch(25.2% 0.081 271.5);
Tailwind
colors: {
  custom: {
    50: '#59587b',
    500: '#151d48',
    950: '#000000',
  },
}
SCSS
$custom: #151d48;
$custom-light: #59587b;
$custom-dark: #000000;
JSON
{
  "hex": "#151d48",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 230.588,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25177,
    "c": 0.08054,
    "h": 271.5
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#151D48
secondary
#807539
accent
#C74ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151D48

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

Preview Lab → · Contrast checker → · Palette generator →

#151D48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva