#151A46#151A46

#151A46 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.082 H 273.7°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#151A46
RGBrgb(21, 26, 70)
HSLhsl(234, 54%, 18%)
HSVhsv(234, 70%, 27%)
CMYKcmyk(70%, 62.9%, 0%, 72.5%)
CIE-LABlab(11.55, 14.10, -28.42)
CIE-LCHlch(11.55, 31.73, 296.39°)
OKLaboklab(24.31% 0.0054 -0.0817)
OKLCHoklch(24.31% 0.082 273.7)
XYZxyz(1.7838, 1.3403, 5.9579)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A46 #464115
analogous
#153246 #151A46 #291546
triadic
#151A46 #46151A #1A4615
tetradic
#151A46 #461532 #464115 #154629
square
#151A46 #461532 #464115 #154629
split-complementary
#151A46 #462915 #324615
monochromatic
#070918 #070918 #151A46 #232B75 #313DA4

Accessibility & contrast

On white

16.56
#151A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A46
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A46#FFFFFF#000000##FFFFFF
##151A461.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a46;
/* rgb */ color: rgb(21, 26, 70);
/* oklch */ color: oklch(24.3% 0.082 273.7);
Tailwind
colors: {
  custom: {
    50: '#59567a',
    500: '#151a46',
    950: '#000000',
  },
}
SCSS
$custom: #151a46;
$custom-light: #59567a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a46",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 233.878,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24305,
    "c": 0.08184,
    "h": 273.7
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#151A46
secondary
#7E7739
accent
#CE4BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151A46

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

Preview Lab → · Contrast checker → · Palette generator →

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