#181652#181652

#181652 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.105 H 277.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#181652
RGBrgb(24, 22, 82)
HSLhsl(242, 58%, 20%)
HSVhsv(242, 73%, 32%)
CMYKcmyk(70.7%, 73.2%, 0%, 67.8%)
CIE-LABlab(11.80, 22.35, -36.29)
CIE-LCHlch(11.80, 42.62, 301.63°)
OKLaboklab(24.9% 0.0128 -0.1047)
OKLCHoklch(24.9% 0.105 277)
XYZxyz(2.1861, 1.3770, 8.1316)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181652 #505216
analogous
#163252 #181652 #361652
triadic
#181652 #521816 #165218
tetradic
#181652 #521632 #505216 #165236
square
#181652 #521632 #505216 #165236
split-complementary
#181652 #523616 #325216
monochromatic
#070618 #0A0922 #181652 #262382 #3430B3

Accessibility & contrast

On white

16.47
#181652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181652
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181652#FFFFFF#000000##FFFFFF
##1816521.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181652;
/* rgb */ color: rgb(24, 22, 82);
/* oklch */ color: oklch(24.9% 0.105 277.0);
Tailwind
colors: {
  custom: {
    50: '#5e5383',
    500: '#181652',
    950: '#000000',
  },
}
SCSS
$custom: #181652;
$custom-light: #5e5383;
$custom-dark: #000000;
JSON
{
  "hex": "#181652",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 242,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24904,
    "c": 0.10547,
    "h": 277
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#181652
secondary
#87893A
accent
#E147DC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181652

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

Preview Lab → · Contrast checker → · Palette generator →

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