#151376#151376

#151376 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.158 H 271.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#151376
RGBrgb(21, 19, 118)
HSLhsl(241, 72%, 27%)
HSVhsv(241, 84%, 46%)
CMYKcmyk(82.2%, 83.9%, 0%, 53.7%)
CIE-LABlab(15.13, 36.95, -54.67)
CIE-LCHlch(15.13, 65.98, 304.06°)
OKLaboklab(28.45% 0.003 -0.1582)
OKLCHoklch(28.45% 0.158 271.1)
XYZxyz(3.8110, 1.9328, 17.3082)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151376 #747613
analogous
#134376 #151376 #471376
triadic
#151376 #761513 #137615
tetradic
#151376 #761343 #747613 #137647
square
#151376 #761343 #747613 #137647
split-complementary
#151376 #764713 #437613
monochromatic
#05041A #0C0B41 #151376 #1E1BAB #2B27DC

Accessibility & contrast

On white

15.14
#151376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151376
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151376#FFFFFF#000000##FFFFFF
##1513761.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151376;
/* rgb */ color: rgb(21, 19, 118);
/* oklch */ color: oklch(28.4% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#67539f',
    500: '#151376',
    950: '#000000',
  },
}
SCSS
$custom: #151376;
$custom-light: #67539f;
$custom-dark: #000000;
JSON
{
  "hex": "#151376",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 241.212,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.15828,
    "h": 271.1
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#151376
secondary
#AAAC39
accent
#EF39EB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #151376

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

Preview Lab → · Contrast checker → · Palette generator →

#151376 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva