#151052#151052

#151052 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.114 H 276.6°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#151052
RGBrgb(21, 16, 82)
HSLhsl(245, 67%, 19%)
HSVhsv(245, 80%, 32%)
CMYKcmyk(74.4%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.10, 25.93, -39.10)
CIE-LCHlch(10.10, 46.91, 303.55°)
OKLaboklab(23.62% 0.013 -0.113)
OKLCHoklch(23.62% 0.114 276.6)
XYZxyz(2.0170, 1.1390, 8.0946)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151052 #4D5210
analogous
#102C52 #151052 #361052
triadic
#151052 #521510 #105215
tetradic
#151052 #52102C #4D5210 #105236
square
#151052 #52102C #4D5210 #105236
split-complementary
#151052 #523610 #2C5210
monochromatic
#07051A #08061F #151052 #221A85 #2F24B8

Accessibility & contrast

On white

17.10
#151052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151052
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151052#FFFFFF#000000##FFFFFF
##1510521.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151052;
/* rgb */ color: rgb(21, 16, 82);
/* oklch */ color: oklch(23.6% 0.114 276.6);
Tailwind
colors: {
  custom: {
    50: '#5d4f83',
    500: '#151052',
    950: '#000000',
  },
}
SCSS
$custom: #151052;
$custom-light: #5d4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#151052",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 244.545,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23619,
    "c": 0.11372,
    "h": 276.6
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#151052
secondary
#858C32
accent
#EA3EDD
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #151052

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

Preview Lab → · Contrast checker → · Palette generator →

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