#184F8D#184F8D

#184F8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.117 H 254.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#184F8D
RGBrgb(24, 79, 141)
HSLhsl(212, 71%, 32%)
HSVhsv(212, 83%, 55%)
CMYKcmyk(83%, 44%, 0%, 44.7%)
CIE-LABlab(33.37, 6.13, -39.38)
CIE-LCHlch(33.37, 39.85, 278.85°)
OKLaboklab(42.7% -0.0315 -0.1128)
OKLCHoklch(42.7% 0.117 254.4)
XYZxyz(7.9786, 7.7083, 26.2615)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F8D #8D5618
analogous
#18898D #184F8D #1C188D
triadic
#184F8D #8D184F #4F8D18
tetradic
#184F8D #8D1889 #8D5618 #188D1C
square
#184F8D #8D1889 #8D5618 #188D1C
split-complementary
#184F8D #8D1C18 #898D18
monochromatic
#061424 #0F3259 #184F8D #216CC1 #418BDF

Accessibility & contrast

On white

8.26
#184F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#184F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F8D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F8D#FFFFFF#000000##FFFFFF
##184F8D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #184f8d;
/* rgb */ color: rgb(24, 79, 141);
/* oklch */ color: oklch(42.7% 0.117 254.4);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#184f8d',
    950: '#000000',
  },
}
SCSS
$custom: #184f8d;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#184f8d",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 211.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42701,
    "c": 0.11713,
    "h": 254.4
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#184F8D
secondary
#BF8442
accent
#993AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #184F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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