#151D53#151D53

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

Color values

HEX#151D53
RGBrgb(21, 29, 83)
HSLhsl(232, 60%, 20%)
HSVhsv(232, 75%, 33%)
CMYKcmyk(74.7%, 65.1%, 0%, 67.5%)
CIE-LABlab(13.61, 17.21, -34.03)
CIE-LCHlch(13.61, 38.13, 296.82°)
OKLaboklab(26.2% 0.0025 -0.0981)
OKLCHoklch(26.2% 0.098 271.4)
XYZxyz(2.3094, 1.6625, 8.3811)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D53 #534B15
analogous
#153C53 #151D53 #2C1553
triadic
#151D53 #53151D #1D5315
tetradic
#151D53 #53153C #534B15 #15532C
square
#151D53 #53153C #534B15 #15532C
split-complementary
#151D53 #532C15 #3C5315
monochromatic
#060918 #090C22 #151D53 #212E84 #2E3FB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151D53#FFFFFF#000000##FFFFFF
##151D531.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)
#002655
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151d53;
/* rgb */ color: rgb(21, 29, 83);
/* oklch */ color: oklch(26.2% 0.098 271.4);
Tailwind
colors: {
  custom: {
    50: '#5c5884',
    500: '#151d53',
    950: '#000000',
  },
}
SCSS
$custom: #151d53;
$custom-light: #5c5884;
$custom-dark: #000000;
JSON
{
  "hex": "#151d53",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 232.258,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26196,
    "c": 0.09814,
    "h": 271.4
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#151D53
secondary
#8B8039
accent
#CE45E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #151D53

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

Preview Lab → · Contrast checker → · Palette generator →

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