#182159#182159

#182159 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.101 H 271.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#182159
RGBrgb(24, 33, 89)
HSLhsl(232, 58%, 22%)
HSVhsv(232, 73%, 35%)
CMYKcmyk(73%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.50, 17.21, -34.99)
CIE-LCHlch(15.50, 38.99, 296.19°)
OKLaboklab(27.83% 0.0023 -0.1008)
OKLCHoklch(27.83% 0.101 271.3)
XYZxyz(2.7231, 2.0029, 9.6924)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182159 #595018
analogous
#184259 #182159 #2F1859
triadic
#182159 #591821 #215918
tetradic
#182159 #591842 #595018 #18592F
square
#182159 #591842 #595018 #18592F
split-complementary
#182159 #592F18 #425918
monochromatic
#060918 #0B0F29 #182159 #253389 #3245B9

Accessibility & contrast

On white

14.99
#182159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#182159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182159
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182159#FFFFFF#000000##FFFFFF
##1821591.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #182159;
/* rgb */ color: rgb(24, 33, 89);
/* oklch */ color: oklch(27.8% 0.101 271.3);
Tailwind
colors: {
  custom: {
    50: '#5e5c88',
    500: '#182159',
    950: '#000000',
  },
}
SCSS
$custom: #182159;
$custom-light: #5e5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#182159",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 231.692,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27827,
    "c": 0.10081,
    "h": 271.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#182159
secondary
#90843D
accent
#CB47E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #182159

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

Preview Lab → · Contrast checker → · Palette generator →

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