#151374#151374

#151374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.156 H 271.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#151374
RGBrgb(21, 19, 116)
HSLhsl(241, 72%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(81.9%, 83.6%, 0%, 54.5%)
CIE-LABlab(14.88, 36.27, -53.80)
CIE-LCHlch(14.88, 64.89, 303.99°)
OKLaboklab(28.19% 0.0034 -0.1557)
OKLCHoklch(28.19% 0.156 271.3)
XYZxyz(3.6935, 1.8857, 16.6889)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151374 #727413
analogous
#134274 #151374 #461374
triadic
#151374 #741513 #137415
tetradic
#151374 #741342 #727413 #137446
square
#151374 #741342 #727413 #137446
split-complementary
#151374 #744613 #427413
monochromatic
#05041A #0B0A3F #151374 #1F1CA9 #2A26DB

Accessibility & contrast

On white

15.25
#151374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##151374#FFFFFF#000000##FFFFFF
##1513741.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)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151374;
/* rgb */ color: rgb(21, 19, 116);
/* oklch */ color: oklch(28.2% 0.156 271.3);
Tailwind
colors: {
  custom: {
    50: '#66539d',
    500: '#151374',
    950: '#000000',
  },
}
SCSS
$custom: #151374;
$custom-light: #66539d;
$custom-dark: #000000;
JSON
{
  "hex": "#151374",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 241.237,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28195,
    "c": 0.15577,
    "h": 271.3
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#151374
secondary
#A8AA38
accent
#EF39EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #151374

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

Preview Lab → · Contrast checker → · Palette generator →

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