#151C47#151C47

#151C47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.080 H 272.2°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#151C47
RGBrgb(21, 28, 71)
HSLhsl(232, 54%, 18%)
HSVhsv(232, 70%, 28%)
CMYKcmyk(70.4%, 60.6%, 0%, 72.2%)
CIE-LABlab(12.25, 13.00, -27.99)
CIE-LCHlch(12.25, 30.86, 294.91°)
OKLaboklab(24.86% 0.0032 -0.0803)
OKLCHoklch(24.86% 0.08 272.2)
XYZxyz(1.8615, 1.4447, 6.1408)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C47 #474015
analogous
#153547 #151C47 #271547
triadic
#151C47 #47151C #1C4715
tetradic
#151C47 #471535 #474015 #154727
square
#151C47 #471535 #474015 #154727
split-complementary
#151C47 #472715 #354715
monochromatic
#070918 #070918 #151C47 #232F76 #3141A5

Accessibility & contrast

On white

16.29
#151C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C47
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C47#FFFFFF#000000##FFFFFF
##151C471.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022248
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151c47;
/* rgb */ color: rgb(21, 28, 71);
/* oklch */ color: oklch(24.9% 0.080 272.2);
Tailwind
colors: {
  custom: {
    50: '#59577b',
    500: '#151c47',
    950: '#000000',
  },
}
SCSS
$custom: #151c47;
$custom-light: #59577b;
$custom-dark: #000000;
JSON
{
  "hex": "#151c47",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 231.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24855,
    "c": 0.08041,
    "h": 272.2
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#151C47
secondary
#7F7539
accent
#C94ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151C47

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

Preview Lab → · Contrast checker → · Palette generator →

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