#184A98#184A98

#184A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.139 H 259.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#184A98
RGBrgb(24, 74, 152)
HSLhsl(217, 73%, 35%)
HSVhsv(217, 84%, 60%)
CMYKcmyk(84.2%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.61, 14.00, -47.30)
CIE-LCHlch(32.61, 49.33, 286.49°)
OKLaboklab(42.35% -0.0254 -0.1362)
OKLCHoklch(42.35% 0.139 259.4)
XYZxyz(8.4909, 7.3577, 30.6723)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A98 #986618
analogous
#188A98 #184A98 #261898
triadic
#184A98 #98184A #4A9818
tetradic
#184A98 #98188A #986618 #189826
square
#184A98 #98188A #986618 #189826
split-complementary
#184A98 #982618 #8A9818
monochromatic
#07172E #103063 #184A98 #2064CD #4884E2

Accessibility & contrast

On white

8.50
#184A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#184A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A98
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A98#FFFFFF#000000##FFFFFF
##184A981.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #184a98;
/* rgb */ color: rgb(24, 74, 152);
/* oklch */ color: oklch(42.4% 0.139 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bb7',
    500: '#184a98',
    950: '#000000',
  },
}
SCSS
$custom: #184a98;
$custom-light: #6c7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#184a98",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 216.563,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.13859,
    "h": 259.4
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#184A98
secondary
#C49348
accent
#A838EF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184A98

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

Preview Lab → · Contrast checker → · Palette generator →

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