#181859#181859

#181859 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.113 H 275.2°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#181859
RGBrgb(24, 24, 89)
HSLhsl(240, 58%, 22%)
HSVhsv(240, 73%, 35%)
CMYKcmyk(73%, 73%, 0%, 65.1%)
CIE-LABlab(13.04, 23.65, -39.01)
CIE-LCHlch(13.04, 45.62, 301.23°)
OKLaboklab(26.02% 0.0102 -0.1127)
OKLCHoklch(26.02% 0.113 275.2)
XYZxyz(2.5059, 1.5685, 9.6199)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181859 #595918
analogous
#183959 #181859 #391859
triadic
#181859 #591818 #185918
tetradic
#181859 #591839 #595918 #185939
square
#181859 #591839 #595918 #185939
split-complementary
#181859 #593918 #395918
monochromatic
#060618 #0B0B29 #181859 #252589 #3232B9

Accessibility & contrast

On white

15.98
#181859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181859
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181859#FFFFFF#000000##FFFFFF
##1818591.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181859;
/* rgb */ color: rgb(24, 24, 89);
/* oklch */ color: oklch(26.0% 0.113 275.2);
Tailwind
colors: {
  custom: {
    50: '#5f5589',
    500: '#181859',
    950: '#000000',
  },
}
SCSS
$custom: #181859;
$custom-light: #5f5589;
$custom-dark: #000000;
JSON
{
  "hex": "#181859",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26017,
    "c": 0.11313,
    "h": 275.2
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#181859
secondary
#90903D
accent
#E147E1
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #181859

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

Preview Lab → · Contrast checker → · Palette generator →

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