#181853#181853

#181853 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.104 H 276.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#181853
RGBrgb(24, 24, 83)
HSLhsl(240, 55%, 21%)
HSVhsv(240, 71%, 33%)
CMYKcmyk(71.1%, 71.1%, 0%, 67.5%)
CIE-LABlab(12.43, 21.33, -35.95)
CIE-LCHlch(12.43, 41.80, 300.69°)
OKLaboklab(25.39% 0.0109 -0.1037)
OKLCHoklch(25.39% 0.104 276)
XYZxyz(2.2641, 1.4718, 8.3467)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181853 #535318
analogous
#183553 #181853 #351853
triadic
#181853 #531818 #185318
tetradic
#181853 #531835 #535318 #185335
square
#181853 #531835 #535318 #185335
split-complementary
#181853 #533518 #355318
monochromatic
#070718 #0A0A24 #181853 #262682 #3333B2

Accessibility & contrast

On white

16.22
#181853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181853
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181853#FFFFFF#000000##FFFFFF
##1818531.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181853;
/* rgb */ color: rgb(24, 24, 83);
/* oklch */ color: oklch(25.4% 0.104 276.0);
Tailwind
colors: {
  custom: {
    50: '#5e5584',
    500: '#181853',
    950: '#000000',
  },
}
SCSS
$custom: #181853;
$custom-light: #5e5584;
$custom-dark: #000000;
JSON
{
  "hex": "#181853",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 240,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25387,
    "c": 0.10426,
    "h": 276
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#181853
secondary
#8A8A3D
accent
#DE49DE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #181853

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

Preview Lab → · Contrast checker → · Palette generator →

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