#151B44#151B44

#151B44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.077 H 273.1°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#151B44
RGBrgb(21, 27, 68)
HSLhsl(232, 53%, 17%)
HSVhsv(232, 69%, 27%)
CMYKcmyk(69.1%, 60.3%, 0%, 73.3%)
CIE-LABlab(11.69, 12.52, -26.80)
CIE-LCHlch(11.69, 29.58, 295.04°)
OKLaboklab(24.36% 0.0041 -0.0769)
OKLCHoklch(24.36% 0.077 273.1)
XYZxyz(1.7442, 1.3605, 5.6384)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B44 #443E15
analogous
#153344 #151B44 #261544
triadic
#151B44 #44151B #1B4415
tetradic
#151B44 #441533 #443E15 #154426
square
#151B44 #441533 #443E15 #154426
split-complementary
#151B44 #442615 #334415
monochromatic
#070917 #070917 #151B44 #232E73 #3240A2

Accessibility & contrast

On white

16.51
#151B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B44
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B44#FFFFFF#000000##FFFFFF
##151B441.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032145
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151b44;
/* rgb */ color: rgb(21, 27, 68);
/* oklch */ color: oklch(24.4% 0.077 273.1);
Tailwind
colors: {
  custom: {
    50: '#585778',
    500: '#151b44',
    950: '#000000',
  },
}
SCSS
$custom: #151b44;
$custom-light: #585778;
$custom-dark: #000000;
JSON
{
  "hex": "#151b44",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 232.34,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24355,
    "c": 0.07699,
    "h": 273.1
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#151B44
secondary
#7C7339
accent
#CA4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151B44

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

Preview Lab → · Contrast checker → · Palette generator →

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