#151A4B#151A4B

#151A4B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.090 H 273.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#151A4B
RGBrgb(21, 26, 75)
HSLhsl(234, 56%, 19%)
HSVhsv(234, 72%, 29%)
CMYKcmyk(72%, 65.3%, 0%, 70.6%)
CIE-LABlab(12.00, 16.16, -31.17)
CIE-LCHlch(12.00, 35.11, 297.40°)
OKLaboklab(24.78% 0.0054 -0.0897)
OKLCHoklch(24.78% 0.09 273.4)
XYZxyz(1.9482, 1.4060, 6.8240)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A4B #4B4615
analogous
#15354B #151A4B #2B154B
triadic
#151A4B #4B151A #1A4B15
tetradic
#151A4B #4B1535 #4B4615 #154B2B
square
#151A4B #4B1535 #4B4615 #154B2B
split-complementary
#151A4B #4B2B15 #354B15
monochromatic
#070818 #08091B #151A4B #222B7B #303BAB

Accessibility & contrast

On white

16.39
#151A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A4B
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A4B#FFFFFF#000000##FFFFFF
##151A4B1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a4b;
/* rgb */ color: rgb(21, 26, 75);
/* oklch */ color: oklch(24.8% 0.090 273.4);
Tailwind
colors: {
  custom: {
    50: '#5a567e',
    500: '#151a4b',
    950: '#000000',
  },
}
SCSS
$custom: #151a4b;
$custom-light: #5a567e;
$custom-dark: #000000;
JSON
{
  "hex": "#151a4b",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 234.444,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24775,
    "c": 0.0899,
    "h": 273.4
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#151A4B
secondary
#837C39
accent
#D248E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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