#151B49#151B49

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

Color values

HEX#151B49
RGBrgb(21, 27, 73)
HSLhsl(233, 55%, 18%)
HSVhsv(233, 71%, 29%)
CMYKcmyk(71.2%, 63%, 0%, 71.4%)
CIE-LABlab(12.12, 14.58, -29.59)
CIE-LCHlch(12.12, 32.99, 296.23°)
OKLaboklab(24.81% 0.0044 -0.0851)
OKLCHoklch(24.81% 0.085 272.9)
XYZxyz(1.9034, 1.4242, 6.4766)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B49 #494315
analogous
#153549 #151B49 #291549
triadic
#151B49 #49151B #1B4915
tetradic
#151B49 #491535 #494315 #154929
square
#151B49 #491535 #494315 #154929
split-complementary
#151B49 #492915 #354915
monochromatic
#070918 #070919 #151B49 #232D79 #303EA8

Accessibility & contrast

On white

16.34
#151B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B49
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B49#FFFFFF#000000##FFFFFF
##151B491.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151b49;
/* rgb */ color: rgb(21, 27, 73);
/* oklch */ color: oklch(24.8% 0.085 272.9);
Tailwind
colors: {
  custom: {
    50: '#59577c',
    500: '#151b49',
    950: '#000000',
  },
}
SCSS
$custom: #151b49;
$custom-light: #59577c;
$custom-dark: #000000;
JSON
{
  "hex": "#151b49",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 233.077,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24808,
    "c": 0.0852,
    "h": 272.9
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#151B49
secondary
#817939
accent
#CD49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151B49

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

Preview Lab → · Contrast checker → · Palette generator →

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