#151A5D#151A5D

#151A5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.117 H 272.1°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#151A5D
RGBrgb(21, 26, 93)
HSLhsl(236, 63%, 22%)
HSVhsv(236, 77%, 36%)
CMYKcmyk(77.4%, 72%, 0%, 63.5%)
CIE-LABlab(13.76, 23.42, -40.52)
CIE-LCHlch(13.76, 46.80, 300.02°)
OKLaboklab(26.61% 0.0043 -0.1172)
OKLCHoklch(26.61% 0.117 272.1)
XYZxyz(2.6538, 1.6883, 10.5398)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A5D #5D5815
analogous
#153E5D #151A5D #34155D
triadic
#151A5D #5D151A #1A5D15
tetradic
#151A5D #5D153E #5D5815 #155D34
square
#151A5D #5D153E #5D5815 #155D34
split-complementary
#151A5D #5D3415 #3E5D15
monochromatic
#060719 #0A0C2B #151A5D #20288F #2C36C1

Accessibility & contrast

On white

15.70
#151A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A5D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A5D#FFFFFF#000000##FFFFFF
##151A5D1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151a5d;
/* rgb */ color: rgb(21, 26, 93);
/* oklch */ color: oklch(26.6% 0.117 272.1);
Tailwind
colors: {
  custom: {
    50: '#5f568c',
    500: '#151a5d',
    950: '#000000',
  },
}
SCSS
$custom: #151a5d;
$custom-light: #5f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#151a5d",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 235.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2661,
    "c": 0.11724,
    "h": 272.1
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#151A5D
secondary
#948E39
accent
#DB42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #151A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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