#181357#181357

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

Color values

HEX#181357
RGBrgb(24, 19, 87)
HSLhsl(244, 64%, 21%)
HSVhsv(244, 78%, 34%)
CMYKcmyk(72.4%, 78.2%, 0%, 65.9%)
CIE-LABlab(11.61, 26.24, -40.01)
CIE-LCHlch(11.61, 47.85, 303.26°)
OKLaboklab(24.92% 0.0143 -0.1156)
OKLCHoklch(24.92% 0.116 277)
XYZxyz(2.3293, 1.3479, 9.1524)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181357 #525713
analogous
#133057 #181357 #3A1357
triadic
#181357 #571813 #135718
tetradic
#181357 #571330 #525713 #13573A
square
#181357 #571330 #525713 #13573A
split-complementary
#181357 #573A13 #305713
monochromatic
#070519 #0A0825 #181357 #261E89 #3429BB

Accessibility & contrast

On white

16.54
#181357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181357
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181357#FFFFFF#000000##FFFFFF
##1813571.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181357;
/* rgb */ color: rgb(24, 19, 87);
/* oklch */ color: oklch(24.9% 0.116 277.0);
Tailwind
colors: {
  custom: {
    50: '#5f5187',
    500: '#181357',
    950: '#000000',
  },
}
SCSS
$custom: #181357;
$custom-light: #5f5187;
$custom-dark: #000000;
JSON
{
  "hex": "#181357",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 244.412,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24924,
    "c": 0.11646,
    "h": 277
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#181357
secondary
#898F36
accent
#E741DB
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #181357

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

Preview Lab → · Contrast checker → · Palette generator →

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