#151674#151674

#151674 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.153 H 270.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#151674
RGBrgb(21, 22, 116)
HSLhsl(239, 69%, 27%)
HSVhsv(239, 82%, 45%)
CMYKcmyk(81.9%, 81%, 0%, 54.5%)
CIE-LABlab(15.45, 34.60, -52.84)
CIE-LCHlch(15.45, 63.16, 303.22°)
OKLaboklab(28.6% 0.0025 -0.153)
OKLCHoklch(28.6% 0.153 270.9)
XYZxyz(3.7475, 1.9938, 16.7069)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151674 #747315
analogous
#154674 #151674 #431574
triadic
#151674 #741516 #167415
tetradic
#151674 #741546 #747315 #157443
square
#151674 #741546 #747315 #157443
split-complementary
#151674 #744315 #467415
monochromatic
#05051A #0C0C40 #151674 #1E20A8 #2B2DD9

Accessibility & contrast

On white

15.01
#151674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151674
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151674#FFFFFF#000000##FFFFFF
##1516741.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151674;
/* rgb */ color: rgb(21, 22, 116);
/* oklch */ color: oklch(28.6% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#66559d',
    500: '#151674',
    950: '#000000',
  },
}
SCSS
$custom: #151674;
$custom-light: #66559d;
$custom-dark: #000000;
JSON
{
  "hex": "#151674",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 239.368,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.286,
    "c": 0.15302,
    "h": 270.9
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#151674
secondary
#AAA93B
accent
#EA3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151674

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

Preview Lab → · Contrast checker → · Palette generator →

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