#151D41#151D41

#151D41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.069 H 271.1°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#151D41
RGBrgb(21, 29, 65)
HSLhsl(229, 51%, 17%)
HSVhsv(229, 68%, 25%)
CMYKcmyk(67.7%, 55.4%, 0%, 74.5%)
CIE-LABlab(12.09, 9.75, -24.06)
CIE-LCHlch(12.09, 25.96, 292.06°)
OKLaboklab(24.58% 0.0013 -0.0688)
OKLCHoklch(24.58% 0.069 271.1)
XYZxyz(1.7024, 1.4197, 5.1843)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D41 #413915
analogous
#153341 #151D41 #231541
triadic
#151D41 #41151D #1D4115
tetradic
#151D41 #411533 #413915 #154123
square
#151D41 #411533 #413915 #154123
split-complementary
#151D41 #412315 #334115
monochromatic
#070A17 #070A17 #151D41 #24326F #33469E

Accessibility & contrast

On white

16.36
#151D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D41
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D41#FFFFFF#000000##FFFFFF
##151D411.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2242
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151d41;
/* rgb */ color: rgb(21, 29, 65);
/* oklch */ color: oklch(24.6% 0.069 271.1);
Tailwind
colors: {
  custom: {
    50: '#575876',
    500: '#151d41',
    950: '#000000',
  },
}
SCSS
$custom: #151d41;
$custom-light: #575876;
$custom-dark: #000000;
JSON
{
  "hex": "#151d41",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 229.091,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24577,
    "c": 0.0688,
    "h": 271.1
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#151D41
secondary
#796D39
accent
#C14DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151D41

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

Preview Lab → · Contrast checker → · Palette generator →

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