#181352#181352

#181352 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.109 H 278.0°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#181352
RGBrgb(24, 19, 82)
HSLhsl(245, 62%, 20%)
HSVhsv(245, 77%, 32%)
CMYKcmyk(70.7%, 76.8%, 0%, 67.8%)
CIE-LABlab(11.06, 24.39, -37.51)
CIE-LCHlch(11.06, 44.74, 303.03°)
OKLaboklab(24.37% 0.0153 -0.1083)
OKLCHoklch(24.37% 0.109 278)
XYZxyz(2.1321, 1.2690, 8.1136)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181352 #4D5213
analogous
#132E52 #181352 #381352
triadic
#181352 #521813 #135218
tetradic
#181352 #52132E #4D5213 #135238
square
#181352 #52132E #4D5213 #135238
split-complementary
#181352 #523813 #2E5213
monochromatic
#070619 #090720 #181352 #271F84 #352AB5

Accessibility & contrast

On white

16.75
#181352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181352
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181352#FFFFFF#000000##FFFFFF
##1813521.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181352;
/* rgb */ color: rgb(24, 19, 82);
/* oklch */ color: oklch(24.4% 0.109 278.0);
Tailwind
colors: {
  custom: {
    50: '#5e5183',
    500: '#181352',
    950: '#000000',
  },
}
SCSS
$custom: #181352;
$custom-light: #5e5183;
$custom-dark: #000000;
JSON
{
  "hex": "#181352",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 244.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24366,
    "c": 0.10935,
    "h": 278
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#181352
secondary
#848A36
accent
#E542D9
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181352

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

Preview Lab → · Contrast checker → · Palette generator →

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