#151C55#151C55

#151C55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.103 H 271.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#151C55
RGBrgb(21, 28, 85)
HSLhsl(233, 60%, 21%)
HSVhsv(233, 75%, 33%)
CMYKcmyk(75.3%, 67.1%, 0%, 66.7%)
CIE-LABlab(13.51, 18.77, -35.55)
CIE-LCHlch(13.51, 40.20, 297.83°)
OKLaboklab(26.18% 0.0033 -0.1026)
OKLCHoklch(26.18% 0.103 271.8)
XYZxyz(2.3637, 1.6456, 8.7856)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C55 #554E15
analogous
#153C55 #151C55 #2E1555
triadic
#151C55 #55151C #1C5515
tetradic
#151C55 #55153C #554E15 #15552E
square
#151C55 #55153C #554E15 #15552E
split-complementary
#151C55 #552E15 #3C5515
monochromatic
#060819 #090C24 #151C55 #212C86 #2D3CB7

Accessibility & contrast

On white

15.80
#151C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C55
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C55#FFFFFF#000000##FFFFFF
##151C551.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151c55;
/* rgb */ color: rgb(21, 28, 85);
/* oklch */ color: oklch(26.2% 0.103 271.8);
Tailwind
colors: {
  custom: {
    50: '#5d5885',
    500: '#151c55',
    950: '#000000',
  },
}
SCSS
$custom: #151c55;
$custom-light: #5d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#151c55",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 233.438,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2618,
    "c": 0.10264,
    "h": 271.8
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#151C55
secondary
#8D8439
accent
#D244E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151C55

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

Preview Lab → · Contrast checker → · Palette generator →

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