#184789#184789

#184789 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.5% C 0.121 H 257.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#184789
RGBrgb(24, 71, 137)
HSLhsl(215, 70%, 32%)
HSVhsv(215, 82%, 54%)
CMYKcmyk(82.5%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.65, 9.91, -41.28)
CIE-LCHlch(30.65, 42.45, 283.50°)
OKLaboklab(40.52% -0.0255 -0.1186)
OKLCHoklch(40.52% 0.121 257.8)
XYZxyz(7.1436, 6.5059, 24.5413)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184789 #895A18
analogous
#188089 #184789 #221889
triadic
#184789 #891847 #478918
tetradic
#184789 #891880 #895A18 #188922
square
#184789 #891880 #895A18 #188922
split-complementary
#184789 #892218 #808918
monochromatic
#061121 #0F2C55 #184789 #2162BD #3E80DD

Accessibility & contrast

On white

9.12
#184789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#184789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184789
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184789#FFFFFF#000000##FFFFFF
##1847891.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8B
Deuteranopia (green-blind)
#024388
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #184789;
/* rgb */ color: rgb(24, 71, 137);
/* oklch */ color: oklch(40.5% 0.121 257.8);
Tailwind
colors: {
  custom: {
    50: '#6979ac',
    500: '#184789',
    950: '#000000',
  },
}
SCSS
$custom: #184789;
$custom-light: #6979ac;
$custom-dark: #000000;
JSON
{
  "hex": "#184789",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 215.044,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.12129,
    "h": 257.8
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#184789
secondary
#BD8940
accent
#A33BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184789

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

Preview Lab → · Contrast checker → · Palette generator →

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