#151070#151070

#151070 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.153 H 272.0°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#151070
RGBrgb(21, 16, 112)
HSLhsl(243, 75%, 25%)
HSVhsv(243, 86%, 44%)
CMYKcmyk(81.2%, 85.7%, 0%, 56.1%)
CIE-LABlab(13.82, 36.49, -52.95)
CIE-LCHlch(13.82, 64.30, 304.57°)
OKLaboklab(27.32% 0.0053 -0.1532)
OKLCHoklch(27.32% 0.153 272)
XYZxyz(3.4182, 1.6995, 15.4740)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151070 #6B7010
analogous
#103B70 #151070 #451070
triadic
#151070 #701510 #107015
tetradic
#151070 #70103B #6B7010 #107045
square
#151070 #70103B #6B7010 #107045
split-complementary
#151070 #704510 #3B7010
monochromatic
#05041B #0B083A #151070 #1F18A6 #291FDB

Accessibility & contrast

On white

15.67
#151070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#151070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151070
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151070#FFFFFF#000000##FFFFFF
##1510701.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001E6E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151070;
/* rgb */ color: rgb(21, 16, 112);
/* oklch */ color: oklch(27.3% 0.153 272.0);
Tailwind
colors: {
  custom: {
    50: '#65519a',
    500: '#151070',
    950: '#000000',
  },
}
SCSS
$custom: #151070;
$custom-light: #65519a;
$custom-dark: #000000;
JSON
{
  "hex": "#151070",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 243.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.15331,
    "h": 272
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#151070
secondary
#A2A834
accent
#F236E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #151070

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

Preview Lab → · Contrast checker → · Palette generator →

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