#151B43#151B43

#151B43 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.075 H 273.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#151B43
RGBrgb(21, 27, 67)
HSLhsl(232, 52%, 17%)
HSVhsv(232, 69%, 26%)
CMYKcmyk(68.7%, 59.7%, 0%, 73.7%)
CIE-LABlab(11.61, 12.11, -26.23)
CIE-LCHlch(11.61, 28.89, 294.78°)
OKLaboklab(24.27% 0.004 -0.0752)
OKLCHoklch(24.27% 0.075 273.1)
XYZxyz(1.7140, 1.3484, 5.4790)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B43 #433D15
analogous
#153243 #151B43 #261543
triadic
#151B43 #43151B #1B4315
tetradic
#151B43 #431532 #433D15 #154326
square
#151B43 #431532 #433D15 #154326
split-complementary
#151B43 #432615 #324315
monochromatic
#070917 #070917 #151B43 #242E72 #3241A0

Accessibility & contrast

On white

16.54
#151B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B43
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B43#FFFFFF#000000##FFFFFF
##151B431.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042144
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151b43;
/* rgb */ color: rgb(21, 27, 67);
/* oklch */ color: oklch(24.3% 0.075 273.1);
Tailwind
colors: {
  custom: {
    50: '#585777',
    500: '#151b43',
    950: '#000000',
  },
}
SCSS
$custom: #151b43;
$custom-light: #585777;
$custom-dark: #000000;
JSON
{
  "hex": "#151b43",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 232.174,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24267,
    "c": 0.07532,
    "h": 273.1
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#151B43
secondary
#7B7239
accent
#C94CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151B43

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

Preview Lab → · Contrast checker → · Palette generator →

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