#151C4F#151C4F

#151C4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.093 H 272.1°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#151C4F
RGBrgb(21, 28, 79)
HSLhsl(233, 58%, 20%)
HSVhsv(233, 73%, 31%)
CMYKcmyk(73.4%, 64.6%, 0%, 69%)
CIE-LABlab(12.95, 16.30, -32.37)
CIE-LCHlch(12.95, 36.25, 296.73°)
OKLaboklab(25.6% 0.0034 -0.0932)
OKLCHoklch(25.6% 0.093 272.1)
XYZxyz(2.1353, 1.5543, 7.5831)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C4F #4F4815
analogous
#15394F #151C4F #2B154F
triadic
#151C4F #4F151C #1C4F15
tetradic
#151C4F #4F1539 #4F4815 #154F2B
square
#151C4F #4F1539 #4F4815 #154F2B
split-complementary
#151C4F #4F2B15 #394F15
monochromatic
#060918 #080B1F #151C4F #222D7F #2F3EB0

Accessibility & contrast

On white

16.02
#151C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C4F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C4F#FFFFFF#000000##FFFFFF
##151C4F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151c4f;
/* rgb */ color: rgb(21, 28, 79);
/* oklch */ color: oklch(25.6% 0.093 272.1);
Tailwind
colors: {
  custom: {
    50: '#5b5781',
    500: '#151c4f',
    950: '#000000',
  },
}
SCSS
$custom: #151c4f;
$custom-light: #5b5781;
$custom-dark: #000000;
JSON
{
  "hex": "#151c4f",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 232.759,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.09331,
    "h": 272.1
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#151C4F
secondary
#877D39
accent
#CF47E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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