#151C4C#151C4C

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

Color values

HEX#151C4C
RGBrgb(21, 28, 76)
HSLhsl(232, 57%, 19%)
HSVhsv(232, 72%, 30%)
CMYKcmyk(72.4%, 63.2%, 0%, 70.2%)
CIE-LABlab(12.68, 15.07, -30.75)
CIE-LCHlch(12.68, 34.24, 296.10°)
OKLaboklab(25.31% 0.0034 -0.0885)
OKLCHoklch(25.31% 0.089 272.2)
XYZxyz(2.0286, 1.5116, 7.0209)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4C #4C4515
analogous
#15384C #151C4C #2A154C
triadic
#151C4C #4C151C #1C4C15
tetradic
#151C4C #4C1538 #4C4515 #154C2A
square
#151C4C #4C1538 #4C4515 #154C2A
split-complementary
#151C4C #4C2A15 #384C15
monochromatic
#070918 #080A1C #151C4C #222E7C #2F3FAC

Accessibility & contrast

On white

16.12
#151C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C4C
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4C#FFFFFF#000000##FFFFFF
##151C4C1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4c;
/* rgb */ color: rgb(21, 28, 76);
/* oklch */ color: oklch(25.3% 0.089 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a577e',
    500: '#151c4c',
    950: '#000000',
  },
}
SCSS
$custom: #151c4c;
$custom-light: #5a577e;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4c",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 232.364,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25312,
    "c": 0.08854,
    "h": 272.2
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#151C4C
secondary
#847A39
accent
#CD48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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