#151D49#151D49

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

Color values

HEX#151D49
RGBrgb(21, 29, 73)
HSLhsl(231, 55%, 18%)
HSVhsv(231, 71%, 29%)
CMYKcmyk(71.2%, 60.3%, 0%, 71.4%)
CIE-LABlab(12.73, 13.07, -28.60)
CIE-LCHlch(12.73, 31.45, 294.55°)
OKLaboklab(25.26% 0.0022 -0.0821)
OKLCHoklch(25.26% 0.082 271.5)
XYZxyz(1.9508, 1.5190, 6.4924)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D49 #494115
analogous
#153749 #151D49 #271549
triadic
#151D49 #49151D #1D4915
tetradic
#151D49 #491537 #494115 #154927
square
#151D49 #491537 #494115 #154927
split-complementary
#151D49 #492715 #374915
monochromatic
#070918 #070A19 #151D49 #233079 #3043A8

Accessibility & contrast

On white

16.11
#151D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D49
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D49#FFFFFF#000000##FFFFFF
##151D491.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151d49;
/* rgb */ color: rgb(21, 29, 73);
/* oklch */ color: oklch(25.3% 0.082 271.5);
Tailwind
colors: {
  custom: {
    50: '#59587c',
    500: '#151d49',
    950: '#000000',
  },
}
SCSS
$custom: #151d49;
$custom-light: #59587c;
$custom-dark: #000000;
JSON
{
  "hex": "#151d49",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 230.769,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25265,
    "c": 0.08218,
    "h": 271.5
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#151D49
secondary
#817639
accent
#C849DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151D49

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

Preview Lab → · Contrast checker → · Palette generator →

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