#182189#182189

#182189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.168 H 269.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#182189
RGBrgb(24, 33, 137)
HSLhsl(235, 70%, 32%)
HSVhsv(235, 82%, 54%)
CMYKcmyk(82.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(20.39, 35.77, -58.02)
CIE-LCHlch(20.39, 68.16, 301.65°)
OKLaboklab(32.86% -0.0019 -0.1681)
OKLCHoklch(32.86% 0.168 269.3)
XYZxyz(5.4344, 3.0874, 23.9716)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182189 #898018
analogous
#185A89 #182189 #481889
triadic
#182189 #891821 #218918
tetradic
#182189 #89185A #898018 #188948
square
#182189 #89185A #898018 #188948
split-complementary
#182189 #894818 #5A8918
monochromatic
#060821 #0F1455 #182189 #212EBD #3E4BDD

Accessibility & contrast

On white

12.98
#182189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182189
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182189#FFFFFF#000000##FFFFFF
##1821891.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182189;
/* rgb */ color: rgb(24, 33, 137);
/* oklch */ color: oklch(32.9% 0.168 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c5dad',
    500: '#182189',
    950: '#000000',
  },
}
SCSS
$custom: #182189;
$custom-light: #6c5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#182189",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 235.221,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32863,
    "c": 0.16811,
    "h": 269.3
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#182189
secondary
#BDB340
accent
#DF3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182189

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

Preview Lab → · Contrast checker → · Palette generator →

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