#151D5E#151D5E

#151D5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.115 H 271.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#151D5E
RGBrgb(21, 29, 94)
HSLhsl(233, 63%, 23%)
HSVhsv(233, 78%, 37%)
CMYKcmyk(77.7%, 69.1%, 0%, 63.1%)
CIE-LABlab(14.66, 21.69, -39.72)
CIE-LCHlch(14.66, 45.25, 298.64°)
OKLaboklab(27.3% 0.002 -0.1148)
OKLCHoklch(27.3% 0.115 271)
XYZxyz(2.7683, 1.8460, 10.7979)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D5E #5E5615
analogous
#15415E #151D5E #32155E
triadic
#151D5E #5E151D #1D5E15
tetradic
#151D5E #5E1541 #5E5615 #155E32
square
#151D5E #5E1541 #5E5615 #155E32
split-complementary
#151D5E #5E3215 #415E15
monochromatic
#060819 #0A0E2C #151D5E #202C90 #2B3CC2

Accessibility & contrast

On white

15.34
#151D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D5E
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D5E#FFFFFF#000000##FFFFFF
##151D5E1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151d5e;
/* rgb */ color: rgb(21, 29, 94);
/* oklch */ color: oklch(27.3% 0.115 271.0);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#151d5e',
    950: '#000000',
  },
}
SCSS
$custom: #151d5e;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#151d5e",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 233.425,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27298,
    "c": 0.1148,
    "h": 271
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#151D5E
secondary
#958B39
accent
#D441E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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