#151076#151076

#151076 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.1% C 0.161 H 271.3°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#151076
RGBrgb(21, 16, 118)
HSLhsl(243, 76%, 26%)
HSVhsv(243, 86%, 46%)
CMYKcmyk(82.2%, 86.4%, 0%, 53.7%)
CIE-LABlab(14.61, 38.48, -55.53)
CIE-LCHlch(14.61, 67.56, 304.72°)
OKLaboklab(28.09% 0.0037 -0.1607)
OKLCHoklch(28.09% 0.161 271.3)
XYZxyz(3.7635, 1.8376, 17.2924)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151076 #717610
analogous
#103E76 #151076 #481076
triadic
#151076 #761510 #107615
tetradic
#151076 #76103E #717610 #107648
square
#151076 #76103E #717610 #107648
split-complementary
#151076 #764810 #3E7610
monochromatic
#05041B #0B0940 #151076 #1F17AC #2920E1

Accessibility & contrast

On white

15.36
#151076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151076
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151076#FFFFFF#000000##FFFFFF
##1510761.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151076;
/* rgb */ color: rgb(21, 16, 118);
/* oklch */ color: oklch(28.1% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#67529f',
    500: '#151076',
    950: '#000000',
  },
}
SCSS
$custom: #151076;
$custom-light: #67529f;
$custom-dark: #000000;
JSON
{
  "hex": "#151076",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 242.941,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28086,
    "c": 0.16073,
    "h": 271.3
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#151076
secondary
#A7AD35
accent
#F335E9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #151076

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

Preview Lab → · Contrast checker → · Palette generator →

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