#151E8D#151E8D

#151E8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.177 H 268.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#151E8D
RGBrgb(21, 30, 141)
HSLhsl(236, 74%, 32%)
HSVhsv(236, 85%, 55%)
CMYKcmyk(85.1%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.09, 38.78, -61.03)
CIE-LCHlch(20.09, 72.31, 302.43°)
OKLaboklab(32.74% -0.0045 -0.1769)
OKLCHoklch(32.74% 0.177 268.5)
XYZxyz(5.5796, 3.0104, 25.4811)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E8D #8D8415
analogous
#155A8D #151E8D #48158D
triadic
#151E8D #8D151E #1E8D15
tetradic
#151E8D #8D155A #8D8415 #158D48
square
#151E8D #8D155A #8D8415 #158D48
split-complementary
#151E8D #8D4815 #5A8D15
monochromatic
#050722 #0D1358 #151E8D #1D29C2 #3B47E2

Accessibility & contrast

On white

13.11
#151E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#151E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E8D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E8D#FFFFFF#000000##FFFFFF
##151E8D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #151e8d;
/* rgb */ color: rgb(21, 30, 141);
/* oklch */ color: oklch(32.7% 0.177 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c5bb0',
    500: '#151e8d',
    950: '#000000',
  },
}
SCSS
$custom: #151e8d;
$custom-light: #6c5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#151e8d",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 235.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.17692,
    "h": 268.5
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#151E8D
secondary
#C1B73D
accent
#E337F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #151E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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