#151B53#151B53

#151B53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.101 H 272.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#151B53
RGBrgb(21, 27, 83)
HSLhsl(234, 60%, 20%)
HSVhsv(234, 75%, 33%)
CMYKcmyk(74.7%, 67.5%, 0%, 67.5%)
CIE-LABlab(13.03, 18.68, -34.97)
CIE-LCHlch(13.03, 39.65, 298.12°)
OKLaboklab(25.77% 0.0043 -0.1009)
OKLCHoklch(25.77% 0.101 272.4)
XYZxyz(2.2620, 1.5676, 8.3653)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B53 #534D15
analogous
#153A53 #151B53 #2E1553
triadic
#151B53 #53151B #1B5315
tetradic
#151B53 #53153A #534D15 #15532E
square
#151B53 #53153A #534D15 #15532E
split-complementary
#151B53 #532E15 #3A5315
monochromatic
#060818 #090B22 #151B53 #212B84 #2E3BB5

Accessibility & contrast

On white

15.99
#151B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B53
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B53#FFFFFF#000000##FFFFFF
##151B531.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151b53;
/* rgb */ color: rgb(21, 27, 83);
/* oklch */ color: oklch(25.8% 0.101 272.4);
Tailwind
colors: {
  custom: {
    50: '#5c5784',
    500: '#151b53',
    950: '#000000',
  },
}
SCSS
$custom: #151b53;
$custom-light: #5c5784;
$custom-dark: #000000;
JSON
{
  "hex": "#151b53",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 234.194,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25772,
    "c": 0.10097,
    "h": 272.4
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#151B53
secondary
#8B8339
accent
#D445E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #151B53

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

Preview Lab → · Contrast checker → · Palette generator →

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