#151A3D#151A3D

#151A3D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.067 H 274.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#151A3D
RGBrgb(21, 26, 61)
HSLhsl(233, 49%, 16%)
HSVhsv(233, 66%, 24%)
CMYKcmyk(65.6%, 57.4%, 0%, 76.1%)
CIE-LABlab(10.81, 10.42, -23.29)
CIE-LCHlch(10.81, 25.51, 294.10°)
OKLaboklab(23.51% 0.0047 -0.0665)
OKLCHoklch(23.51% 0.067 274)
XYZxyz(1.5207, 1.2350, 4.5722)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A3D #3D3815
analogous
#152E3D #151A3D #24153D
triadic
#151A3D #3D151A #1A3D15
tetradic
#151A3D #3D152E #3D3815 #153D24
square
#151A3D #3D152E #3D3815 #153D24
split-complementary
#151A3D #3D2415 #2E3D15
monochromatic
#080A17 #080A17 #151A3D #252D6B #344198

Accessibility & contrast

On white

16.84
#151A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A3D
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A3D#FFFFFF#000000##FFFFFF
##151A3D1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#031B3C
Tritanopia (blue-blind)
#012228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151a3d;
/* rgb */ color: rgb(21, 26, 61);
/* oklch */ color: oklch(23.5% 0.067 274.0);
Tailwind
colors: {
  custom: {
    50: '#575673',
    500: '#151a3d',
    950: '#000000',
  },
}
SCSS
$custom: #151a3d;
$custom-light: #575673;
$custom-dark: #000000;
JSON
{
  "hex": "#151a3d",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 232.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23513,
    "c": 0.06671,
    "h": 274
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#151A3D
secondary
#756D39
accent
#C74FD8
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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