#151A3C#151A3C

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

Color values

HEX#151A3C
RGBrgb(21, 26, 60)
HSLhsl(232, 48%, 16%)
HSVhsv(232, 65%, 24%)
CMYKcmyk(65%, 56.7%, 0%, 76.5%)
CIE-LABlab(10.74, 10.01, -22.70)
CIE-LCHlch(10.74, 24.81, 293.79°)
OKLaboklab(23.43% 0.0045 -0.0648)
OKLCHoklch(23.43% 0.065 274)
XYZxyz(1.4940, 1.2244, 4.4317)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A3C #3C3715
analogous
#152D3C #151A3C #23153C
triadic
#151A3C #3C151A #1A3C15
tetradic
#151A3C #3C152D #3C3715 #153C23
square
#151A3C #3C152D #3C3715 #153C23
split-complementary
#151A3C #3C2315 #2D3C15
monochromatic
#080A17 #080A17 #151A3C #252E69 #354197

Accessibility & contrast

On white

16.87
#151A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A3C
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A3C#FFFFFF#000000##FFFFFF
##151A3C1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3D
Deuteranopia (green-blind)
#041B3B
Tritanopia (blue-blind)
#022228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151a3c;
/* rgb */ color: rgb(21, 26, 60);
/* oklch */ color: oklch(23.4% 0.065 274.0);
Tailwind
colors: {
  custom: {
    50: '#565672',
    500: '#151a3c',
    950: '#000000',
  },
}
SCSS
$custom: #151a3c;
$custom-light: #565672;
$custom-dark: #000000;
JSON
{
  "hex": "#151a3c",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 232.308,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23429,
    "c": 0.06498,
    "h": 274
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#151A3C
secondary
#746C39
accent
#C650D8
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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