#184D8D#184D8D

#184D8D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.120 H 255.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#184D8D
RGBrgb(24, 77, 141)
HSLhsl(213, 71%, 32%)
HSVhsv(213, 83%, 55%)
CMYKcmyk(83%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.75, 7.48, -40.36)
CIE-LCHlch(32.75, 41.05, 280.49°)
OKLaboklab(42.22% -0.0298 -0.1157)
OKLCHoklch(42.22% 0.12 255.6)
XYZxyz(7.8365, 7.4241, 26.2141)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184D8D #8D5818
analogous
#18878D #184D8D #1E188D
triadic
#184D8D #8D184D #4D8D18
tetradic
#184D8D #8D1887 #8D5818 #188D1E
square
#184D8D #8D1887 #8D5818 #188D1E
split-complementary
#184D8D #8D1E18 #878D18
monochromatic
#061424 #0F3059 #184D8D #216AC1 #4188DF

Accessibility & contrast

On white

8.45
#184D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#184D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184D8D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184D8D#FFFFFF#000000##FFFFFF
##184D8D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #184d8d;
/* rgb */ color: rgb(24, 77, 141);
/* oklch */ color: oklch(42.2% 0.120 255.6);
Tailwind
colors: {
  custom: {
    50: '#697eaf',
    500: '#184d8d',
    950: '#000000',
  },
}
SCSS
$custom: #184d8d;
$custom-light: #697eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#184d8d",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 212.821,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42224,
    "c": 0.11952,
    "h": 255.6
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#184D8D
secondary
#BF8642
accent
#9C3AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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