#151C49#151C49

#151C49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.084 H 272.2°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#151C49
RGBrgb(21, 28, 73)
HSLhsl(232, 55%, 18%)
HSVhsv(232, 71%, 29%)
CMYKcmyk(71.2%, 61.6%, 0%, 71.4%)
CIE-LABlab(12.42, 13.83, -29.10)
CIE-LCHlch(12.42, 32.22, 295.41°)
OKLaboklab(25.04% 0.0033 -0.0836)
OKLCHoklch(25.04% 0.084 272.2)
XYZxyz(1.9267, 1.4708, 6.4844)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C49 #494215
analogous
#153649 #151C49 #281549
triadic
#151C49 #49151C #1C4915
tetradic
#151C49 #491536 #494215 #154928
square
#151C49 #491536 #494215 #154928
split-complementary
#151C49 #492815 #364915
monochromatic
#070918 #070A19 #151C49 #232E79 #3040A8

Accessibility & contrast

On white

16.23
#151C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C49
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C49#FFFFFF#000000##FFFFFF
##151C491.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151c49;
/* rgb */ color: rgb(21, 28, 73);
/* oklch */ color: oklch(25.0% 0.084 272.2);
Tailwind
colors: {
  custom: {
    50: '#59577c',
    500: '#151c49',
    950: '#000000',
  },
}
SCSS
$custom: #151c49;
$custom-light: #59577c;
$custom-dark: #000000;
JSON
{
  "hex": "#151c49",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 231.923,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25035,
    "c": 0.08369,
    "h": 272.2
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#151C49
secondary
#817739
accent
#CB49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151C49

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

Preview Lab → · Contrast checker → · Palette generator →

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