#151C4B#151C4B

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

Color values

HEX#151C4B
RGBrgb(21, 28, 75)
HSLhsl(232, 56%, 19%)
HSVhsv(232, 72%, 29%)
CMYKcmyk(72%, 62.7%, 0%, 70.6%)
CIE-LABlab(12.59, 14.65, -30.20)
CIE-LCHlch(12.59, 33.57, 295.88°)
OKLaboklab(25.22% 0.0034 -0.0869)
OKLCHoklch(25.22% 0.087 272.2)
XYZxyz(1.9941, 1.4978, 6.8393)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4B #4B4415
analogous
#15374B #151C4B #29154B
triadic
#151C4B #4B151C #1C4B15
tetradic
#151C4B #4B1537 #4B4415 #154B29
square
#151C4B #4B1537 #4B4415 #154B29
split-complementary
#151C4B #4B2915 #374B15
monochromatic
#070918 #080A1B #151C4B #222E7B #3040AB

Accessibility & contrast

On white

16.16
#151C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C4B
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4B#FFFFFF#000000##FFFFFF
##151C4B1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4b;
/* rgb */ color: rgb(21, 28, 75);
/* oklch */ color: oklch(25.2% 0.087 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a577e',
    500: '#151c4b',
    950: '#000000',
  },
}
SCSS
$custom: #151c4b;
$custom-light: #5a577e;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4b",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 232.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.08693,
    "h": 272.2
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#151C4B
secondary
#837939
accent
#CC48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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