#151074#151074

#151074 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.158 H 271.5°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#151074
RGBrgb(21, 16, 116)
HSLhsl(243, 76%, 26%)
HSVhsv(243, 86%, 45%)
CMYKcmyk(81.9%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.35, 37.82, -54.68)
CIE-LCHlch(14.35, 66.48, 304.67°)
OKLaboklab(27.83% 0.0043 -0.1582)
OKLCHoklch(27.83% 0.158 271.5)
XYZxyz(3.6459, 1.7906, 16.6731)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151074 #6F7410
analogous
#103D74 #151074 #471074
triadic
#151074 #741510 #107415
tetradic
#151074 #74103D #6F7410 #107447
square
#151074 #74103D #6F7410 #107447
split-complementary
#151074 #744710 #3D7410
monochromatic
#05041B #0B093E #151074 #1F17AA #281FE0

Accessibility & contrast

On white

15.46
#151074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151074
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151074#FFFFFF#000000##FFFFFF
##1510741.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151074;
/* rgb */ color: rgb(21, 16, 116);
/* oklch */ color: oklch(27.8% 0.158 271.5);
Tailwind
colors: {
  custom: {
    50: '#67529d',
    500: '#151074',
    950: '#000000',
  },
}
SCSS
$custom: #151074;
$custom-light: #67529d;
$custom-dark: #000000;
JSON
{
  "hex": "#151074",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 243,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.15828,
    "h": 271.5
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#151074
secondary
#A5AB35
accent
#F235E9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #151074

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

Preview Lab → · Contrast checker → · Palette generator →

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