#184E8B#184E8B

#184E8B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.116 H 254.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#184E8B
RGBrgb(24, 78, 139)
HSLhsl(212, 71%, 32%)
HSVhsv(212, 83%, 55%)
CMYKcmyk(82.7%, 43.9%, 0%, 45.5%)
CIE-LABlab(32.93, 5.99, -38.85)
CIE-LCHlch(32.93, 39.31, 278.76°)
OKLaboklab(42.32% -0.0311 -0.1113)
OKLCHoklch(42.32% 0.116 254.4)
XYZxyz(7.7595, 7.5061, 25.4610)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184E8B #8B5518
analogous
#18888B #184E8B #1C188B
triadic
#184E8B #8B184E #4E8B18
tetradic
#184E8B #8B1888 #8B5518 #188B1C
square
#184E8B #8B1888 #8B5518 #188B1C
split-complementary
#184E8B #8B1C18 #888B18
monochromatic
#061323 #0F3157 #184E8B #216BBF #3F8ADE

Accessibility & contrast

On white

8.40
#184E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#184E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184E8B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184E8B#FFFFFF#000000##FFFFFF
##184E8B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #184e8b;
/* rgb */ color: rgb(24, 78, 139);
/* oklch */ color: oklch(42.3% 0.116 254.4);
Tailwind
colors: {
  custom: {
    50: '#697fad',
    500: '#184e8b',
    950: '#000000',
  },
}
SCSS
$custom: #184e8b;
$custom-light: #697fad;
$custom-dark: #000000;
JSON
{
  "hex": "#184e8b",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 211.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.11554,
    "h": 254.4
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#184E8B
secondary
#BE8340
accent
#993AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #184E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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