#182789#182789

#182789 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.162 H 268.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182789
RGBrgb(24, 39, 137)
HSLhsl(232, 70%, 32%)
HSVhsv(232, 82%, 54%)
CMYKcmyk(82.5%, 71.5%, 0%, 46.3%)
CIE-LABlab(21.77, 31.96, -55.75)
CIE-LCHlch(21.77, 64.27, 299.83°)
OKLaboklab(33.85% -0.0044 -0.1615)
OKLCHoklch(33.85% 0.162 268.4)
XYZxyz(5.6160, 3.4507, 24.0321)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182789 #897A18
analogous
#186089 #182789 #421889
triadic
#182789 #891827 #278918
tetradic
#182789 #891860 #897A18 #188942
square
#182789 #891860 #897A18 #188942
split-complementary
#182789 #894218 #608918
monochromatic
#060921 #0F1855 #182789 #2136BD #3E53DD

Accessibility & contrast

On white

12.42
#182789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182789
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182789#FFFFFF#000000##FFFFFF
##1827891.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182789;
/* rgb */ color: rgb(24, 39, 137);
/* oklch */ color: oklch(33.9% 0.162 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b61ac',
    500: '#182789',
    950: '#000000',
  },
}
SCSS
$custom: #182789;
$custom-light: #6b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182789",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 232.035,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3385,
    "c": 0.16158,
    "h": 268.4
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#182789
secondary
#BDAC40
accent
#D53BED
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182789

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

Preview Lab → · Contrast checker → · Palette generator →

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