#151D60#151D60

#151D60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.118 H 270.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#151D60
RGBrgb(21, 29, 96)
HSLhsl(234, 64%, 23%)
HSVhsv(234, 78%, 38%)
CMYKcmyk(78.1%, 69.8%, 0%, 62.4%)
CIE-LABlab(14.86, 22.50, -40.72)
CIE-LCHlch(14.86, 46.52, 298.92°)
OKLaboklab(27.51% 0.0019 -0.1177)
OKLCHoklch(27.51% 0.118 270.9)
XYZxyz(2.8592, 1.8824, 11.2767)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D60 #605815
analogous
#154260 #151D60 #321560
triadic
#151D60 #60151D #1D6015
tetradic
#151D60 #601542 #605815 #156032
square
#151D60 #601542 #605815 #156032
split-complementary
#151D60 #603215 #426015
monochromatic
#050819 #0A0E2E #151D60 #202C92 #2B3BC4

Accessibility & contrast

On white

15.25
#151D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D60
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D60#FFFFFF#000000##FFFFFF
##151D601.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151d60;
/* rgb */ color: rgb(21, 29, 96);
/* oklch */ color: oklch(27.5% 0.118 270.9);
Tailwind
colors: {
  custom: {
    50: '#60598e',
    500: '#151d60',
    950: '#000000',
  },
}
SCSS
$custom: #151d60;
$custom-light: #60598e;
$custom-dark: #000000;
JSON
{
  "hex": "#151d60",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 233.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27505,
    "c": 0.11774,
    "h": 270.9
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#151D60
secondary
#978D3A
accent
#D541E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151D60

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

Preview Lab → · Contrast checker → · Palette generator →

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