#181052#181052

#181052 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.113 H 279.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#181052
RGBrgb(24, 16, 82)
HSLhsl(247, 67%, 19%)
HSVhsv(247, 80%, 32%)
CMYKcmyk(70.7%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.36, 26.32, -38.65)
CIE-LCHlch(10.36, 46.77, 304.26°)
OKLaboklab(23.87% 0.0176 -0.1116)
OKLCHoklch(23.87% 0.113 279)
XYZxyz(2.0845, 1.1738, 8.0977)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181052 #4A5210
analogous
#102952 #181052 #391052
triadic
#181052 #521810 #105218
tetradic
#181052 #521029 #4A5210 #105239
square
#181052 #521029 #4A5210 #105239
split-complementary
#181052 #523910 #295210
monochromatic
#07051A #09061F #181052 #271A85 #3624B8

Accessibility & contrast

On white

17.01
#181052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181052
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181052#FFFFFF#000000##FFFFFF
##1810521.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181052;
/* rgb */ color: rgb(24, 16, 82);
/* oklch */ color: oklch(23.9% 0.113 279.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f83',
    500: '#181052',
    950: '#000000',
  },
}
SCSS
$custom: #181052;
$custom-light: #5e4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#181052",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 247.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23872,
    "c": 0.11297,
    "h": 279
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#181052
secondary
#818C32
accent
#EA3ED5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181052

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

Preview Lab → · Contrast checker → · Palette generator →

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