#151E53#151E53

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

Color values

HEX#151E53
RGBrgb(21, 30, 83)
HSLhsl(231, 60%, 20%)
HSVhsv(231, 75%, 33%)
CMYKcmyk(74.7%, 63.9%, 0%, 67.5%)
CIE-LABlab(13.90, 16.46, -33.56)
CIE-LCHlch(13.90, 37.38, 296.13°)
OKLaboklab(26.41% 0.0015 -0.0967)
OKLCHoklch(26.41% 0.097 270.9)
XYZxyz(2.3343, 1.7123, 8.3894)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E53 #534A15
analogous
#153D53 #151E53 #2B1553
triadic
#151E53 #53151E #1E5315
tetradic
#151E53 #53153D #534A15 #15532B
square
#151E53 #53153D #534A15 #15532B
split-complementary
#151E53 #532B15 #3D5315
monochromatic
#060918 #090C22 #151E53 #213084 #2E41B5

Accessibility & contrast

On white

15.64
#151E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E53
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E53#FFFFFF#000000##FFFFFF
##151E531.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151e53;
/* rgb */ color: rgb(21, 30, 83);
/* oklch */ color: oklch(26.4% 0.097 270.9);
Tailwind
colors: {
  custom: {
    50: '#5c5984',
    500: '#151e53',
    950: '#000000',
  },
}
SCSS
$custom: #151e53;
$custom-light: #5c5984;
$custom-dark: #000000;
JSON
{
  "hex": "#151e53",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 231.29,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26414,
    "c": 0.09671,
    "h": 270.9
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#151E53
secondary
#8B7F39
accent
#CC45E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #151E53

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

Preview Lab → · Contrast checker → · Palette generator →

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