#151B4B#151B4B

#151B4B is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.088 H 272.8°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#151B4B
RGBrgb(21, 27, 75)
HSLhsl(233, 56%, 19%)
HSVhsv(233, 72%, 29%)
CMYKcmyk(72%, 64%, 0%, 70.6%)
CIE-LABlab(12.29, 15.41, -30.69)
CIE-LCHlch(12.29, 34.34, 296.66°)
OKLaboklab(25% 0.0044 -0.0883)
OKLCHoklch(25% 0.088 272.8)
XYZxyz(1.9708, 1.4511, 6.8315)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B4B #4B4515
analogous
#15364B #151B4B #2A154B
triadic
#151B4B #4B151B #1B4B15
tetradic
#151B4B #4B1536 #4B4515 #154B2A
square
#151B4B #4B1536 #4B4515 #154B2A
split-complementary
#151B4B #4B2A15 #364B15
monochromatic
#070918 #080A1B #151B4B #222C7B #303DAB

Accessibility & contrast

On white

16.28
#151B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B4B
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B4B#FFFFFF#000000##FFFFFF
##151B4B1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151b4b;
/* rgb */ color: rgb(21, 27, 75);
/* oklch */ color: oklch(25.0% 0.088 272.8);
Tailwind
colors: {
  custom: {
    50: '#5a577e',
    500: '#151b4b',
    950: '#000000',
  },
}
SCSS
$custom: #151b4b;
$custom-light: #5a577e;
$custom-dark: #000000;
JSON
{
  "hex": "#151b4b",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 233.333,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24995,
    "c": 0.08842,
    "h": 272.8
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#151B4B
secondary
#837B39
accent
#CF48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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