#151D55#151D55

#151D55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.101 H 271.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#151D55
RGBrgb(21, 29, 85)
HSLhsl(233, 60%, 21%)
HSVhsv(233, 75%, 33%)
CMYKcmyk(75.3%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.79, 18.03, -35.09)
CIE-LCHlch(13.79, 39.45, 297.20°)
OKLaboklab(26.39% 0.0024 -0.1012)
OKLCHoklch(26.39% 0.101 271.4)
XYZxyz(2.3878, 1.6938, 8.7937)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D55 #554D15
analogous
#153D55 #151D55 #2D1555
triadic
#151D55 #55151D #1D5515
tetradic
#151D55 #55153D #554D15 #15552D
square
#151D55 #55153D #554D15 #15552D
split-complementary
#151D55 #552D15 #3D5515
monochromatic
#060819 #090C24 #151D55 #212E86 #2D3EB7

Accessibility & contrast

On white

15.69
#151D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#151D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D55
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D55#FFFFFF#000000##FFFFFF
##151D551.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151d55;
/* rgb */ color: rgb(21, 29, 85);
/* oklch */ color: oklch(26.4% 0.101 271.4);
Tailwind
colors: {
  custom: {
    50: '#5c5885',
    500: '#151d55',
    950: '#000000',
  },
}
SCSS
$custom: #151d55;
$custom-light: #5c5885;
$custom-dark: #000000;
JSON
{
  "hex": "#151d55",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 232.5,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26391,
    "c": 0.10124,
    "h": 271.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#151D55
secondary
#8D8239
accent
#D044E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151D55

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

Preview Lab → · Contrast checker → · Palette generator →

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