#151C56#151C56

#151C56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.104 H 271.8°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#151C56
RGBrgb(21, 28, 86)
HSLhsl(234, 61%, 21%)
HSVhsv(234, 76%, 34%)
CMYKcmyk(75.6%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.60, 19.17, -36.07)
CIE-LCHlch(13.60, 40.85, 297.99°)
OKLaboklab(26.28% 0.0033 -0.1041)
OKLCHoklch(26.28% 0.104 271.8)
XYZxyz(2.4037, 1.6616, 8.9963)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C56 #564F15
analogous
#153C56 #151C56 #2E1556
triadic
#151C56 #56151C #1C5615
tetradic
#151C56 #56153C #564F15 #15562E
square
#151C56 #56153C #564F15 #15562E
split-complementary
#151C56 #562E15 #3C5615
monochromatic
#060819 #090C25 #151C56 #212C87 #2D3CB8

Accessibility & contrast

On white

15.76
#151C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#151C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C56
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C56#FFFFFF#000000##FFFFFF
##151C561.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151c56;
/* rgb */ color: rgb(21, 28, 86);
/* oklch */ color: oklch(26.3% 0.104 271.8);
Tailwind
colors: {
  custom: {
    50: '#5d5886',
    500: '#151c56',
    950: '#000000',
  },
}
SCSS
$custom: #151c56;
$custom-light: #5d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#151c56",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 233.538,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.10417,
    "h": 271.8
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#151C56
secondary
#8E8539
accent
#D344E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151C56

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

Preview Lab → · Contrast checker → · Palette generator →

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