#151D44#151D44

#151D44 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.074 H 271.3°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#151D44
RGBrgb(21, 29, 68)
HSLhsl(230, 53%, 17%)
HSVhsv(230, 69%, 27%)
CMYKcmyk(69.1%, 57.4%, 0%, 73.3%)
CIE-LABlab(12.32, 10.99, -25.79)
CIE-LCHlch(12.32, 28.03, 293.09°)
OKLaboklab(24.83% 0.0017 -0.0739)
OKLCHoklch(24.83% 0.074 271.3)
XYZxyz(1.7917, 1.4554, 5.6542)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D44 #443C15
analogous
#153544 #151D44 #241544
triadic
#151D44 #44151D #1D4415
tetradic
#151D44 #441535 #443C15 #154424
square
#151D44 #441535 #443C15 #154424
split-complementary
#151D44 #442415 #354415
monochromatic
#070A17 #070A17 #151D44 #233173 #3245A2

Accessibility & contrast

On white

16.26
#151D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D44
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D44#FFFFFF#000000##FFFFFF
##151D441.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072245
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151d44;
/* rgb */ color: rgb(21, 29, 68);
/* oklch */ color: oklch(24.8% 0.074 271.3);
Tailwind
colors: {
  custom: {
    50: '#585878',
    500: '#151d44',
    950: '#000000',
  },
}
SCSS
$custom: #151d44;
$custom-light: #585878;
$custom-dark: #000000;
JSON
{
  "hex": "#151d44",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 229.787,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24829,
    "c": 0.07388,
    "h": 271.3
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#151D44
secondary
#7C7039
accent
#C44CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151D44

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

Preview Lab → · Contrast checker → · Palette generator →

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