#182489#182489

#182489 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.165 H 268.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#182489
RGBrgb(24, 36, 137)
HSLhsl(234, 70%, 32%)
HSVhsv(234, 82%, 54%)
CMYKcmyk(82.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.06, 33.90, -56.91)
CIE-LCHlch(21.06, 66.24, 300.78°)
OKLaboklab(33.34% -0.0031 -0.1649)
OKLCHoklch(33.34% 0.165 268.9)
XYZxyz(5.5214, 3.2614, 24.0006)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182489 #897D18
analogous
#185D89 #182489 #451889
triadic
#182489 #891824 #248918
tetradic
#182489 #89185D #897D18 #188945
square
#182489 #89185D #897D18 #188945
split-complementary
#182489 #894518 #5D8918
monochromatic
#060921 #0F1655 #182489 #2132BD #3E4FDD

Accessibility & contrast

On white

12.71
#182489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182489
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182489#FFFFFF#000000##FFFFFF
##1824891.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182489;
/* rgb */ color: rgb(24, 36, 137);
/* oklch */ color: oklch(33.3% 0.165 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b5fad',
    500: '#182489',
    950: '#000000',
  },
}
SCSS
$custom: #182489;
$custom-light: #6b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#182489",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 233.628,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.16492,
    "h": 268.9
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#182489
secondary
#BDAF40
accent
#DA3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182489

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

Preview Lab → · Contrast checker → · Palette generator →

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