#151A3E#151A3E

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

Color values

HEX#151A3E
RGBrgb(21, 26, 62)
HSLhsl(233, 49%, 16%)
HSVhsv(233, 66%, 24%)
CMYKcmyk(66.1%, 58.1%, 0%, 75.7%)
CIE-LABlab(10.89, 10.82, -23.87)
CIE-LCHlch(10.89, 26.21, 294.39°)
OKLaboklab(23.6% 0.0048 -0.0683)
OKLCHoklch(23.6% 0.068 274)
XYZxyz(1.5479, 1.2459, 4.7154)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A3E #3E3915
analogous
#152F3E #151A3E #25153E
triadic
#151A3E #3E151A #1A3E15
tetradic
#151A3E #3E152F #3E3915 #153E25
square
#151A3E #3E152F #3E3915 #153E25
split-complementary
#151A3E #3E2515 #2F3E15
monochromatic
#080A17 #080A17 #151A3E #242D6C #344099

Accessibility & contrast

On white

16.81
#151A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A3E
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A3E#FFFFFF#000000##FFFFFF
##151A3E1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#021C3D
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151a3e;
/* rgb */ color: rgb(21, 26, 62);
/* oklch */ color: oklch(23.6% 0.068 274.0);
Tailwind
colors: {
  custom: {
    50: '#575673',
    500: '#151a3e',
    950: '#000000',
  },
}
SCSS
$custom: #151a3e;
$custom-light: #575673;
$custom-dark: #000000;
JSON
{
  "hex": "#151a3e",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 232.683,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23597,
    "c": 0.06843,
    "h": 274
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#151A3E
secondary
#766E39
accent
#C84FD9
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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