#182989#182989

#182989 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.159 H 268.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#182989
RGBrgb(24, 41, 137)
HSLhsl(231, 70%, 32%)
HSVhsv(231, 82%, 54%)
CMYKcmyk(82.5%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.25, 30.65, -54.95)
CIE-LCHlch(22.25, 62.92, 299.15°)
OKLaboklab(34.2% -0.0053 -0.1592)
OKLCHoklch(34.2% 0.159 268.1)
XYZxyz(5.6834, 3.5855, 24.0546)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182989 #897818
analogous
#186289 #182989 #3F1889
triadic
#182989 #891829 #298918
tetradic
#182989 #891862 #897818 #18893F
square
#182989 #891862 #897818 #18893F
split-complementary
#182989 #893F18 #628918
monochromatic
#060A21 #0F1955 #182989 #2139BD #3E56DD

Accessibility & contrast

On white

12.23
#182989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#182989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182989
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182989#FFFFFF#000000##FFFFFF
##1829891.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182989;
/* rgb */ color: rgb(24, 41, 137);
/* oklch */ color: oklch(34.2% 0.159 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#182989',
    950: '#000000',
  },
}
SCSS
$custom: #182989;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182989",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 230.973,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34203,
    "c": 0.15928,
    "h": 268.1
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#182989
secondary
#BDAA40
accent
#D23BED
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182989

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

Preview Lab → · Contrast checker → · Palette generator →

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