#184998#184998

#184998 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.140 H 259.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#184998
RGBrgb(24, 73, 152)
HSLhsl(217, 73%, 35%)
HSVhsv(217, 84%, 60%)
CMYKcmyk(84.2%, 52%, 0%, 40.4%)
CIE-LABlab(32.31, 14.68, -47.78)
CIE-LCHlch(32.31, 49.98, 287.08°)
OKLaboklab(42.13% -0.0247 -0.1376)
OKLCHoklch(42.13% 0.14 259.8)
XYZxyz(8.4247, 7.2252, 30.6503)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184998 #986718
analogous
#188998 #184998 #271898
triadic
#184998 #981849 #499818
tetradic
#184998 #981889 #986718 #189827
square
#184998 #981889 #986718 #189827
split-complementary
#184998 #982718 #899818
monochromatic
#07162E #103063 #184998 #2062CD #4883E2

Accessibility & contrast

On white

8.59
#184998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#184998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184998
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184998#FFFFFF#000000##FFFFFF
##1849981.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #184998;
/* rgb */ color: rgb(24, 73, 152);
/* oklch */ color: oklch(42.1% 0.140 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7bb7',
    500: '#184998',
    950: '#000000',
  },
}
SCSS
$custom: #184998;
$custom-light: #6c7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#184998",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 217.031,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.13985,
    "h": 259.8
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#184998
secondary
#C49448
accent
#A938EF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184998

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

Preview Lab → · Contrast checker → · Palette generator →

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