#181650#181650

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

Color values

HEX#181650
RGBrgb(24, 22, 80)
HSLhsl(242, 57%, 20%)
HSVhsv(242, 73%, 31%)
CMYKcmyk(70%, 72.5%, 0%, 68.6%)
CIE-LABlab(11.60, 21.58, -35.25)
CIE-LCHlch(11.60, 41.33, 301.48°)
OKLaboklab(24.69% 0.0131 -0.1016)
OKLCHoklch(24.69% 0.102 277.3)
XYZxyz(2.1111, 1.3470, 7.7366)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181650 #4E5016
analogous
#163150 #181650 #351650
triadic
#181650 #501816 #165018
tetradic
#181650 #501631 #4E5016 #165035
square
#181650 #501631 #4E5016 #165035
split-complementary
#181650 #503516 #315016
monochromatic
#070718 #0A0920 #181650 #262380 #3530B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181650#FFFFFF#000000##FFFFFF
##1816501.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)
#002152
Deuteranopia (green-blind)
#001C4F
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181650;
/* rgb */ color: rgb(24, 22, 80);
/* oklch */ color: oklch(24.7% 0.102 277.3);
Tailwind
colors: {
  custom: {
    50: '#5d5382',
    500: '#181650',
    950: '#000000',
  },
}
SCSS
$custom: #181650;
$custom-light: #5d5382;
$custom-dark: #000000;
JSON
{
  "hex": "#181650",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 242.069,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.24694,
    "c": 0.10249,
    "h": 277.3
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#181650
secondary
#85873A
accent
#E048DB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181650

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

Preview Lab → · Contrast checker → · Palette generator →

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