#184C9E#184C9E

#184C9E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.144 H 259.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#184C9E
RGBrgb(24, 76, 158)
HSLhsl(217, 74%, 36%)
HSVhsv(217, 85%, 62%)
CMYKcmyk(84.8%, 51.9%, 0%, 38%)
CIE-LABlab(33.63, 15.08, -49.28)
CIE-LCHlch(33.63, 51.54, 287.01°)
OKLaboklab(43.27% -0.0261 -0.142)
OKLCHoklch(43.27% 0.144 259.6)
XYZxyz(9.1304, 7.8306, 33.3714)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184C9E #9E6A18
analogous
#188F9E #184C9E #27189E
triadic
#184C9E #9E184C #4C9E18
tetradic
#184C9E #9E188F #9E6A18 #189E27
square
#184C9E #9E188F #9E6A18 #189E27
split-complementary
#184C9E #9E2718 #8F9E18
monochromatic
#081934 #103269 #184C9E #2066D3 #4D87E4

Accessibility & contrast

On white

8.18
#184C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#184C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184C9E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184C9E#FFFFFF#000000##FFFFFF
##184C9E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #184c9e;
/* rgb */ color: rgb(24, 76, 158);
/* oklch */ color: oklch(43.3% 0.144 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7dbb',
    500: '#184c9e',
    950: '#000000',
  },
}
SCSS
$custom: #184c9e;
$custom-light: #6e7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#184c9e",
  "rgb": {
    "r": 24,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 216.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.14438,
    "h": 259.6
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#184C9E
secondary
#C6974C
accent
#A938F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184C9E

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

Preview Lab → · Contrast checker → · Palette generator →

#184C9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva