#151C41#151C41

#151C41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.070 H 272.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#151C41
RGBrgb(21, 28, 65)
HSLhsl(230, 51%, 17%)
HSVhsv(230, 68%, 25%)
CMYKcmyk(67.7%, 56.9%, 0%, 74.5%)
CIE-LABlab(11.77, 10.52, -24.58)
CIE-LCHlch(11.77, 26.73, 293.17°)
OKLaboklab(24.33% 0.0026 -0.0703)
OKLCHoklch(24.33% 0.07 272.1)
XYZxyz(1.6783, 1.3715, 5.1763)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C41 #413A15
analogous
#153241 #151C41 #241541
triadic
#151C41 #41151C #1C4115
tetradic
#151C41 #411532 #413A15 #154124
square
#151C41 #411532 #413A15 #154124
split-complementary
#151C41 #412415 #324115
monochromatic
#070A17 #070A17 #151C41 #24306F #33449E

Accessibility & contrast

On white

16.48
#151C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C41
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C41#FFFFFF#000000##FFFFFF
##151C411.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151c41;
/* rgb */ color: rgb(21, 28, 65);
/* oklch */ color: oklch(24.3% 0.070 272.1);
Tailwind
colors: {
  custom: {
    50: '#575776',
    500: '#151c41',
    950: '#000000',
  },
}
SCSS
$custom: #151c41;
$custom-light: #575776;
$custom-dark: #000000;
JSON
{
  "hex": "#151c41",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 230.455,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24334,
    "c": 0.07037,
    "h": 272.1
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#151C41
secondary
#796F39
accent
#C44DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151C41

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

Preview Lab → · Contrast checker → · Palette generator →

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