#184F9F#184F9F

#184F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.142 H 258.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#184F9F
RGBrgb(24, 79, 159)
HSLhsl(216, 74%, 36%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(84.9%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.58, 13.46, -48.35)
CIE-LCHlch(34.58, 50.19, 285.55°)
OKLaboklab(44.02% -0.0281 -0.1392)
OKLCHoklch(44.02% 0.142 258.6)
XYZxyz(9.4284, 8.2882, 33.8970)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F9F #9F6818
analogous
#18929F #184F9F #25189F
triadic
#184F9F #9F184F #4F9F18
tetradic
#184F9F #9F1892 #9F6818 #189F25
square
#184F9F #9F1892 #9F6818 #189F25
split-complementary
#184F9F #9F2518 #929F18
monochromatic
#081A35 #10356A #184F9F #2069D4 #4D8BE4

Accessibility & contrast

On white

7.90
#184F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#184F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F9F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F9F#FFFFFF#000000##FFFFFF
##184F9F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #184f9f;
/* rgb */ color: rgb(24, 79, 159);
/* oklch */ color: oklch(44.0% 0.142 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e7fbc',
    500: '#184f9f',
    950: '#000000',
  },
}
SCSS
$custom: #184f9f;
$custom-light: #6e7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#184f9f",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 215.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.14202,
    "h": 258.6
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#184F9F
secondary
#C6954D
accent
#A537F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #184F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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