#181353#181353

#181353 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.111 H 277.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#181353
RGBrgb(24, 19, 83)
HSLhsl(245, 63%, 20%)
HSVhsv(245, 77%, 33%)
CMYKcmyk(71.1%, 77.1%, 0%, 67.5%)
CIE-LABlab(11.17, 24.76, -38.02)
CIE-LCHlch(11.17, 45.37, 303.08°)
OKLaboklab(24.48% 0.0151 -0.1097)
OKLCHoklch(24.48% 0.111 277.8)
XYZxyz(2.1704, 1.2843, 8.3155)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181353 #4E5313
analogous
#132E53 #181353 #381353
triadic
#181353 #531813 #135318
tetradic
#181353 #53132E #4E5313 #135338
square
#181353 #53132E #4E5313 #135338
split-complementary
#181353 #533813 #2E5313
monochromatic
#070619 #0A0821 #181353 #261E85 #352AB7

Accessibility & contrast

On white

16.71
#181353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181353
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181353#FFFFFF#000000##FFFFFF
##1813531.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001B52
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181353;
/* rgb */ color: rgb(24, 19, 83);
/* oklch */ color: oklch(24.5% 0.111 277.8);
Tailwind
colors: {
  custom: {
    50: '#5e5184',
    500: '#181353',
    950: '#000000',
  },
}
SCSS
$custom: #181353;
$custom-light: #5e5184;
$custom-dark: #000000;
JSON
{
  "hex": "#181353",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 244.688,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.24476,
    "c": 0.11079,
    "h": 277.8
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#181353
secondary
#858B36
accent
#E642D9
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181353

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

Preview Lab → · Contrast checker → · Palette generator →

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