#184D8B#184D8B

#184D8B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.117 H 255.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#184D8B
RGBrgb(24, 77, 139)
HSLhsl(212, 71%, 32%)
HSVhsv(212, 83%, 55%)
CMYKcmyk(82.7%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.62, 6.66, -39.34)
CIE-LCHlch(32.62, 39.90, 279.61°)
OKLaboklab(42.08% -0.0302 -0.1128)
OKLCHoklch(42.08% 0.117 255)
XYZxyz(7.6890, 7.3651, 25.4374)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184D8B #8B5618
analogous
#18878B #184D8B #1D188B
triadic
#184D8B #8B184D #4D8B18
tetradic
#184D8B #8B1887 #8B5618 #188B1D
square
#184D8B #8B1887 #8B5618 #188B1D
split-complementary
#184D8B #8B1D18 #878B18
monochromatic
#061323 #0F3057 #184D8B #216ABF #3F88DE

Accessibility & contrast

On white

8.49
#184D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#184D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184D8B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184D8B#FFFFFF#000000##FFFFFF
##184D8B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#17488A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #184d8b;
/* rgb */ color: rgb(24, 77, 139);
/* oklch */ color: oklch(42.1% 0.117 255.0);
Tailwind
colors: {
  custom: {
    50: '#697ead',
    500: '#184d8b',
    950: '#000000',
  },
}
SCSS
$custom: #184d8b;
$custom-light: #697ead;
$custom-dark: #000000;
JSON
{
  "hex": "#184d8b",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 212.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.11674,
    "h": 255
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#184D8B
secondary
#BE8440
accent
#9B3AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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