#151D56#151D56

#151D56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.103 H 271.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#151D56
RGBrgb(21, 29, 86)
HSLhsl(233, 61%, 21%)
HSVhsv(233, 76%, 34%)
CMYKcmyk(75.6%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.88, 18.44, -35.61)
CIE-LCHlch(13.88, 40.10, 297.38°)
OKLaboklab(26.49% 0.0024 -0.1027)
OKLCHoklch(26.49% 0.103 271.3)
XYZxyz(2.4278, 1.7098, 9.0044)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D56 #564E15
analogous
#153D56 #151D56 #2D1556
triadic
#151D56 #56151D #1D5615
tetradic
#151D56 #56153D #564E15 #15562D
square
#151D56 #56153D #564E15 #15562D
split-complementary
#151D56 #562D15 #3D5615
monochromatic
#060819 #090C25 #151D56 #212E87 #2D3EB8

Accessibility & contrast

On white

15.65
#151D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D56
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D56#FFFFFF#000000##FFFFFF
##151D561.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.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: #151d56;
/* rgb */ color: rgb(21, 29, 86);
/* oklch */ color: oklch(26.5% 0.103 271.3);
Tailwind
colors: {
  custom: {
    50: '#5d5886',
    500: '#151d56',
    950: '#000000',
  },
}
SCSS
$custom: #151d56;
$custom-light: #5d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#151d56",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 232.615,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26489,
    "c": 0.10278,
    "h": 271.3
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #151D56

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

Preview Lab → · Contrast checker → · Palette generator →

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