#151A41#151A41

#151A41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.074 H 273.9°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#151A41
RGBrgb(21, 26, 65)
HSLhsl(233, 51%, 17%)
HSVhsv(233, 68%, 25%)
CMYKcmyk(67.7%, 60%, 0%, 74.5%)
CIE-LABlab(11.13, 12.05, -25.60)
CIE-LCHlch(11.13, 28.30, 295.21°)
OKLaboklab(23.86% 0.0051 -0.0733)
OKLCHoklch(23.86% 0.074 273.9)
XYZxyz(1.6325, 1.2797, 5.1610)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A41 #413C15
analogous
#153041 #151A41 #261541
triadic
#151A41 #41151A #1A4115
tetradic
#151A41 #411530 #413C15 #154126
square
#151A41 #411530 #413C15 #154126
split-complementary
#151A41 #412615 #304115
monochromatic
#070917 #070917 #151A41 #242D6F #333F9E

Accessibility & contrast

On white

16.72
#151A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A41
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A41#FFFFFF#000000##FFFFFF
##151A411.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151a41;
/* rgb */ color: rgb(21, 26, 65);
/* oklch */ color: oklch(23.9% 0.074 273.9);
Tailwind
colors: {
  custom: {
    50: '#585676',
    500: '#151a41',
    950: '#000000',
  },
}
SCSS
$custom: #151a41;
$custom-light: #585676;
$custom-dark: #000000;
JSON
{
  "hex": "#151a41",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 233.182,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23856,
    "c": 0.07352,
    "h": 273.9
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#151A41
secondary
#797239
accent
#CB4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151A41

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

Preview Lab → · Contrast checker → · Palette generator →

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