#184D9B#184D9B

#184D9B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.139 H 258.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#184D9B
RGBrgb(24, 77, 155)
HSLhsl(216, 73%, 35%)
HSVhsv(216, 85%, 61%)
CMYKcmyk(84.5%, 50.3%, 0%, 39.2%)
CIE-LABlab(33.71, 13.18, -47.34)
CIE-LCHlch(33.71, 49.15, 285.56°)
OKLaboklab(43.26% -0.0272 -0.1363)
OKLCHoklch(43.26% 0.139 258.7)
XYZxyz(8.9448, 7.8674, 32.0511)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184D9B #9B6618
analogous
#188E9B #184D9B #24189B
triadic
#184D9B #9B184D #4D9B18
tetradic
#184D9B #9B188E #9B6618 #189B24
square
#184D9B #9B188E #9B6618 #189B24
split-complementary
#184D9B #9B2418 #8E9B18
monochromatic
#081831 #103366 #184D9B #2067D0 #4A88E3

Accessibility & contrast

On white

8.16
#184D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #184D9B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184D9B#FFFFFF#000000##FFFFFF
##184D9B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #184d9b;
/* rgb */ color: rgb(24, 77, 155);
/* oklch */ color: oklch(43.3% 0.139 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7eb9',
    500: '#184d9b',
    950: '#000000',
  },
}
SCSS
$custom: #184d9b;
$custom-light: #6d7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#184d9b",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 215.725,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.139,
    "h": 258.7
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#184D9B
secondary
#C5934A
accent
#A538F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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