#184E9F#184E9F

#184E9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.143 H 259.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#184E9F
RGBrgb(24, 78, 159)
HSLhsl(216, 74%, 36%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(84.9%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.28, 14.13, -48.82)
CIE-LCHlch(34.28, 50.83, 286.14°)
OKLaboklab(43.8% -0.0274 -0.1406)
OKLCHoklch(43.8% 0.143 259)
XYZxyz(9.3568, 8.1450, 33.8732)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184E9F #9F6918
analogous
#18919F #184E9F #25189F
triadic
#184E9F #9F184E #4E9F18
tetradic
#184E9F #9F1891 #9F6918 #189F25
square
#184E9F #9F1891 #9F6918 #189F25
split-complementary
#184E9F #9F2518 #919F18
monochromatic
#081A35 #10346A #184E9F #2068D4 #4D8AE4

Accessibility & contrast

On white

7.99
#184E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#184E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184E9F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184E9F#FFFFFF#000000##FFFFFF
##184E9F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #184e9f;
/* rgb */ color: rgb(24, 78, 159);
/* oklch */ color: oklch(43.8% 0.143 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7ebc',
    500: '#184e9f',
    950: '#000000',
  },
}
SCSS
$custom: #184e9f;
$custom-light: #6e7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#184e9f",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 216,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.14326,
    "h": 259
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#184E9F
secondary
#C6964D
accent
#A637F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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