#151A53#151A53

#151A53 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.102 H 272.9°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#151A53
RGBrgb(21, 26, 83)
HSLhsl(235, 60%, 20%)
HSVhsv(235, 75%, 33%)
CMYKcmyk(74.7%, 68.7%, 0%, 67.5%)
CIE-LABlab(12.75, 19.42, -35.43)
CIE-LCHlch(12.75, 40.40, 298.73°)
OKLaboklab(25.57% 0.0051 -0.1022)
OKLCHoklch(25.57% 0.102 272.9)
XYZxyz(2.2395, 1.5225, 8.3578)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A53 #534E15
analogous
#153953 #151A53 #2F1553
triadic
#151A53 #53151A #1A5315
tetradic
#151A53 #531539 #534E15 #15532F
square
#151A53 #531539 #534E15 #15532F
split-complementary
#151A53 #532F15 #395315
monochromatic
#060818 #090B22 #151A53 #212984 #2E39B5

Accessibility & contrast

On white

16.10
#151A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A53
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A53#FFFFFF#000000##FFFFFF
##151A531.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151a53;
/* rgb */ color: rgb(21, 26, 83);
/* oklch */ color: oklch(25.6% 0.102 272.9);
Tailwind
colors: {
  custom: {
    50: '#5c5684',
    500: '#151a53',
    950: '#000000',
  },
}
SCSS
$custom: #151a53;
$custom-light: #5c5684;
$custom-dark: #000000;
JSON
{
  "hex": "#151a53",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 235.161,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25565,
    "c": 0.10237,
    "h": 272.9
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#151A53
secondary
#8B8439
accent
#D645E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #151A53

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

Preview Lab → · Contrast checker → · Palette generator →

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