#151B46#151B46

#151B46 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.080 H 273.0°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#151B46
RGBrgb(21, 27, 70)
HSLhsl(233, 54%, 18%)
HSVhsv(233, 70%, 27%)
CMYKcmyk(70%, 61.4%, 0%, 72.5%)
CIE-LABlab(11.86, 13.35, -27.93)
CIE-LCHlch(11.86, 30.95, 295.54°)
OKLaboklab(24.53% 0.0042 -0.0802)
OKLCHoklch(24.53% 0.08 273)
XYZxyz(1.8063, 1.3853, 5.9654)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B46 #464015
analogous
#153346 #151B46 #271546
triadic
#151B46 #46151B #1B4615
tetradic
#151B46 #461533 #464015 #154627
square
#151B46 #461533 #464015 #154627
split-complementary
#151B46 #462715 #334615
monochromatic
#070918 #070918 #151B46 #232D75 #313FA4

Accessibility & contrast

On white

16.44
#151B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B46
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B46#FFFFFF#000000##FFFFFF
##151B461.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151b46;
/* rgb */ color: rgb(21, 27, 70);
/* oklch */ color: oklch(24.5% 0.080 273.0);
Tailwind
colors: {
  custom: {
    50: '#59577a',
    500: '#151b46',
    950: '#000000',
  },
}
SCSS
$custom: #151b46;
$custom-light: #59577a;
$custom-dark: #000000;
JSON
{
  "hex": "#151b46",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 232.653,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24534,
    "c": 0.0803,
    "h": 273
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#151B46
secondary
#7E7539
accent
#CB4BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151B46

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

Preview Lab → · Contrast checker → · Palette generator →

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