#182589#182589

#182589 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.164 H 268.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#182589
RGBrgb(24, 37, 137)
HSLhsl(233, 70%, 32%)
HSVhsv(233, 82%, 54%)
CMYKcmyk(82.5%, 73%, 0%, 46.3%)
CIE-LABlab(21.29, 33.26, -56.53)
CIE-LCHlch(21.29, 65.59, 300.47°)
OKLaboklab(33.51% -0.0035 -0.1638)
OKLCHoklch(33.51% 0.164 268.8)
XYZxyz(5.5521, 3.3228, 24.0108)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182589 #897C18
analogous
#185E89 #182589 #441889
triadic
#182589 #891825 #258918
tetradic
#182589 #89185E #897C18 #188944
square
#182589 #89185E #897C18 #188944
split-complementary
#182589 #894418 #5E8918
monochromatic
#060921 #0F1755 #182589 #2133BD #3E50DD

Accessibility & contrast

On white

12.62
#182589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182589
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182589#FFFFFF#000000##FFFFFF
##1825891.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182589;
/* rgb */ color: rgb(24, 37, 137);
/* oklch */ color: oklch(33.5% 0.164 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b60ad',
    500: '#182589',
    950: '#000000',
  },
}
SCSS
$custom: #182589;
$custom-light: #6b60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#182589",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 233.097,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33509,
    "c": 0.16383,
    "h": 268.8
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#182589
secondary
#BDAE40
accent
#D83BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182589

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

Preview Lab → · Contrast checker → · Palette generator →

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