#151A38#151A38

#151A38 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.1% C 0.058 H 273.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#151A38
RGBrgb(21, 26, 56)
HSLhsl(231, 45%, 15%)
HSVhsv(231, 63%, 22%)
CMYKcmyk(62.5%, 53.6%, 0%, 78%)
CIE-LABlab(10.44, 8.39, -20.32)
CIE-LCHlch(10.44, 21.99, 292.43°)
OKLaboklab(23.11% 0.0039 -0.0578)
OKLCHoklch(23.11% 0.058 273.9)
XYZxyz(1.3922, 1.1836, 3.8957)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A38 #383315
analogous
#152B38 #151A38 #221538
triadic
#151A38 #38151A #1A3815
tetradic
#151A38 #38152B #383315 #153822
square
#151A38 #38152B #383315 #153822
split-complementary
#151A38 #382215 #2B3815
monochromatic
#080A16 #080A16 #151A38 #262F65 #364391

Accessibility & contrast

On white

16.98
#151A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A38
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A38#FFFFFF#000000##FFFFFF
##151A381.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E39
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#052126
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a38;
/* rgb */ color: rgb(21, 26, 56);
/* oklch */ color: oklch(23.1% 0.058 273.9);
Tailwind
colors: {
  custom: {
    50: '#56566f',
    500: '#151a38',
    950: '#000000',
  },
}
SCSS
$custom: #151a38;
$custom-light: #56566f;
$custom-dark: #000000;
JSON
{
  "hex": "#151a38",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 231.429,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23105,
    "c": 0.05797,
    "h": 273.9
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#151A38
secondary
#6F683A
accent
#C253D5
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151A38

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

Preview Lab → · Contrast checker → · Palette generator →

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