#181653#181653

#181653 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.107 H 276.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#181653
RGBrgb(24, 22, 83)
HSLhsl(242, 58%, 21%)
HSVhsv(242, 73%, 33%)
CMYKcmyk(71.1%, 73.5%, 0%, 67.5%)
CIE-LABlab(11.91, 22.73, -36.80)
CIE-LCHlch(11.91, 43.25, 301.70°)
OKLaboklab(25.01% 0.0127 -0.1062)
OKLCHoklch(25.01% 0.107 276.8)
XYZxyz(2.2244, 1.3924, 8.3335)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181653 #515316
analogous
#163253 #181653 #361653
triadic
#181653 #531816 #165318
tetradic
#181653 #531632 #515316 #165336
square
#181653 #531632 #515316 #165336
split-complementary
#181653 #533616 #325316
monochromatic
#070618 #0A0923 #181653 #262383 #3430B4

Accessibility & contrast

On white

16.42
#181653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181653
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181653#FFFFFF#000000##FFFFFF
##1816531.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181653;
/* rgb */ color: rgb(24, 22, 83);
/* oklch */ color: oklch(25.0% 0.107 276.8);
Tailwind
colors: {
  custom: {
    50: '#5e5384',
    500: '#181653',
    950: '#000000',
  },
}
SCSS
$custom: #181653;
$custom-light: #5e5384;
$custom-dark: #000000;
JSON
{
  "hex": "#181653",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 241.967,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25009,
    "c": 0.10694,
    "h": 276.8
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#181653
secondary
#888A3A
accent
#E146DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181653

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

Preview Lab → · Contrast checker → · Palette generator →

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