#151A3F#151A3F

#151A3F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.070 H 274.0°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#151A3F
RGBrgb(21, 26, 63)
HSLhsl(233, 50%, 16%)
HSVhsv(233, 67%, 25%)
CMYKcmyk(66.7%, 58.7%, 0%, 75.3%)
CIE-LABlab(10.97, 11.23, -24.45)
CIE-LCHlch(10.97, 26.91, 294.68°)
OKLaboklab(23.68% 0.0049 -0.07)
OKLCHoklch(23.68% 0.07 274)
XYZxyz(1.5756, 1.2570, 4.8613)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A3F #3F3A15
analogous
#152F3F #151A3F #25153F
triadic
#151A3F #3F151A #1A3F15
tetradic
#151A3F #3F152F #3F3A15 #153F25
square
#151A3F #3F152F #3F3A15 #153F25
split-complementary
#151A3F #3F2515 #2F3F15
monochromatic
#080917 #080917 #151A3F #242D6D #34409B

Accessibility & contrast

On white

16.78
#151A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A3F
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A3F#FFFFFF#000000##FFFFFF
##151A3F1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#011C3E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151a3f;
/* rgb */ color: rgb(21, 26, 63);
/* oklch */ color: oklch(23.7% 0.070 274.0);
Tailwind
colors: {
  custom: {
    50: '#575674',
    500: '#151a3f',
    950: '#000000',
  },
}
SCSS
$custom: #151a3f;
$custom-light: #575674;
$custom-dark: #000000;
JSON
{
  "hex": "#151a3f",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 232.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23683,
    "c": 0.07014,
    "h": 274
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#151A3F
secondary
#776F39
accent
#C94EDA
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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