#182889#182889

#182889 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.160 H 268.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#182889
RGBrgb(24, 40, 137)
HSLhsl(232, 70%, 32%)
HSVhsv(232, 82%, 54%)
CMYKcmyk(82.5%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.01, 31.31, -55.36)
CIE-LCHlch(22.01, 63.60, 299.49°)
OKLaboklab(34.03% -0.0049 -0.1604)
OKLCHoklch(34.03% 0.16 268.3)
XYZxyz(5.6493, 3.5173, 24.0432)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182889 #897918
analogous
#186189 #182889 #411889
triadic
#182889 #891828 #288918
tetradic
#182889 #891861 #897918 #188941
square
#182889 #891861 #897918 #188941
split-complementary
#182889 #894118 #618918
monochromatic
#060A21 #0F1955 #182889 #2137BD #3E55DD

Accessibility & contrast

On white

12.33
#182889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182889
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182889#FFFFFF#000000##FFFFFF
##1828891.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182889;
/* rgb */ color: rgb(24, 40, 137);
/* oklch */ color: oklch(34.0% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b62ac',
    500: '#182889',
    950: '#000000',
  },
}
SCSS
$custom: #182889;
$custom-light: #6b62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182889",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 231.504,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.16043,
    "h": 268.3
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#182889
secondary
#BDAB40
accent
#D43BED
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182889

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

Preview Lab → · Contrast checker → · Palette generator →

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