#151C46#151C46

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

Color values

HEX#151C46
RGBrgb(21, 28, 70)
HSLhsl(231, 54%, 18%)
HSVhsv(231, 70%, 27%)
CMYKcmyk(70%, 60%, 0%, 72.5%)
CIE-LABlab(12.17, 12.58, -27.43)
CIE-LCHlch(12.17, 30.18, 294.65°)
OKLaboklab(24.77% 0.0031 -0.0787)
OKLCHoklch(24.77% 0.079 272.2)
XYZxyz(1.8296, 1.4320, 5.9731)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C46 #463F15
analogous
#153446 #151C46 #271546
triadic
#151C46 #46151C #1C4615
tetradic
#151C46 #461534 #463F15 #154627
square
#151C46 #461534 #463F15 #154627
split-complementary
#151C46 #462715 #344615
monochromatic
#070918 #070918 #151C46 #232F75 #3142A4

Accessibility & contrast

On white

16.32
#151C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C46
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C46#FFFFFF#000000##FFFFFF
##151C461.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032247
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151c46;
/* rgb */ color: rgb(21, 28, 70);
/* oklch */ color: oklch(24.8% 0.079 272.2);
Tailwind
colors: {
  custom: {
    50: '#59577a',
    500: '#151c46',
    950: '#000000',
  },
}
SCSS
$custom: #151c46;
$custom-light: #59577a;
$custom-dark: #000000;
JSON
{
  "hex": "#151c46",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 231.429,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24766,
    "c": 0.07876,
    "h": 272.2
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#151C46
secondary
#7E7439
accent
#C84BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151C46

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

Preview Lab → · Contrast checker → · Palette generator →

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