#184A9F#184A9F

#184A9F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.148 H 260.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#184A9F
RGBrgb(24, 74, 159)
HSLhsl(218, 74%, 36%)
HSVhsv(218, 85%, 62%)
CMYKcmyk(84.9%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.12, 16.85, -50.70)
CIE-LCHlch(33.12, 53.43, 288.38°)
OKLaboklab(42.91% -0.0245 -0.1462)
OKLCHoklch(42.91% 0.148 260.5)
XYZxyz(9.0812, 7.5938, 33.7813)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A9F #9F6D18
analogous
#188D9F #184A9F #2A189F
triadic
#184A9F #9F184A #4A9F18
tetradic
#184A9F #9F188D #9F6D18 #189F2A
square
#184A9F #9F188D #9F6D18 #189F2A
split-complementary
#184A9F #9F2A18 #8D9F18
monochromatic
#081935 #10316A #184A9F #2063D4 #4D85E4

Accessibility & contrast

On white

8.34
#184A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#184A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A9F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A9F#FFFFFF#000000##FFFFFF
##184A9F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #184a9f;
/* rgb */ color: rgb(24, 74, 159);
/* oklch */ color: oklch(42.9% 0.148 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7bbc',
    500: '#184a9f',
    950: '#000000',
  },
}
SCSS
$custom: #184a9f;
$custom-light: #6e7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#184a9f",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 217.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.14828,
    "h": 260.5
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#184A9F
secondary
#C6994D
accent
#AC37F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #184A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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