#184A9D#184A9D

#184A9D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.146 H 260.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#184A9D
RGBrgb(24, 74, 157)
HSLhsl(217, 73%, 35%)
HSVhsv(217, 85%, 62%)
CMYKcmyk(84.7%, 52.9%, 0%, 38.4%)
CIE-LABlab(32.97, 16.03, -49.74)
CIE-LCHlch(32.97, 52.26, 287.87°)
OKLaboklab(42.75% -0.0248 -0.1434)
OKLCHoklch(42.75% 0.146 260.2)
XYZxyz(8.9091, 7.5250, 32.8747)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A9D #9D6B18
analogous
#188C9D #184A9D #29189D
triadic
#184A9D #9D184A #4A9D18
tetradic
#184A9D #9D188C #9D6B18 #189D29
square
#184A9D #9D188C #9D6B18 #189D29
split-complementary
#184A9D #9D2918 #8C9D18
monochromatic
#081833 #103168 #184A9D #2063D2 #4C85E4

Accessibility & contrast

On white

8.38
#184A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#184A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A9D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A9D#FFFFFF#000000##FFFFFF
##184A9D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #184a9d;
/* rgb */ color: rgb(24, 74, 157);
/* oklch */ color: oklch(42.7% 0.146 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7bbb',
    500: '#184a9d',
    950: '#000000',
  },
}
SCSS
$custom: #184a9d;
$custom-light: #6e7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#184a9d",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 217.444,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.14553,
    "h": 260.2
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#184A9D
secondary
#C5984B
accent
#AB38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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