#182389#182389

#182389 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.166 H 269.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#182389
RGBrgb(24, 35, 137)
HSLhsl(234, 70%, 32%)
HSVhsv(234, 82%, 54%)
CMYKcmyk(82.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(20.83, 34.53, -57.29)
CIE-LCHlch(20.83, 66.89, 301.08°)
OKLaboklab(33.18% -0.0027 -0.166)
OKLCHoklch(33.18% 0.166 269.1)
XYZxyz(5.4915, 3.2018, 23.9906)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182389 #897E18
analogous
#185C89 #182389 #461889
triadic
#182389 #891823 #238918
tetradic
#182389 #89185C #897E18 #188946
square
#182389 #89185C #897E18 #188946
split-complementary
#182389 #894618 #5C8918
monochromatic
#060821 #0F1655 #182389 #2130BD #3E4EDD

Accessibility & contrast

On white

12.80
#182389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182389
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182389#FFFFFF#000000##FFFFFF
##1823891.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182389;
/* rgb */ color: rgb(24, 35, 137);
/* oklch */ color: oklch(33.2% 0.166 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b5fad',
    500: '#182389',
    950: '#000000',
  },
}
SCSS
$custom: #182389;
$custom-light: #6b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#182389",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 234.159,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.166,
    "h": 269.1
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#182389
secondary
#BDB040
accent
#DC3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182389

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

Preview Lab → · Contrast checker → · Palette generator →

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