#151C43#151C43

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

Color values

HEX#151C43
RGBrgb(21, 28, 67)
HSLhsl(231, 52%, 17%)
HSVhsv(231, 69%, 26%)
CMYKcmyk(68.7%, 58.2%, 0%, 73.7%)
CIE-LABlab(11.92, 11.35, -25.73)
CIE-LCHlch(11.92, 28.12, 293.80°)
OKLaboklab(24.5% 0.0028 -0.0737)
OKLCHoklch(24.5% 0.074 272.2)
XYZxyz(1.7373, 1.3950, 5.4868)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C43 #433C15
analogous
#153343 #151C43 #251543
triadic
#151C43 #43151C #1C4315
tetradic
#151C43 #431533 #433C15 #154325
square
#151C43 #431533 #433C15 #154325
split-complementary
#151C43 #432515 #334315
monochromatic
#070A17 #070A17 #151C43 #242F72 #3243A0

Accessibility & contrast

On white

16.42
#151C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C43
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C43#FFFFFF#000000##FFFFFF
##151C431.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151c43;
/* rgb */ color: rgb(21, 28, 67);
/* oklch */ color: oklch(24.5% 0.074 272.2);
Tailwind
colors: {
  custom: {
    50: '#585777',
    500: '#151c43',
    950: '#000000',
  },
}
SCSS
$custom: #151c43;
$custom-light: #585777;
$custom-dark: #000000;
JSON
{
  "hex": "#151c43",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 230.87,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24504,
    "c": 0.07375,
    "h": 272.2
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#151C43
secondary
#7B7139
accent
#C64CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #151C43

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

Preview Lab → · Contrast checker → · Palette generator →

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