#184F8A#184F8A

#184F8A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.113 H 253.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#184F8A
RGBrgb(24, 79, 138)
HSLhsl(211, 70%, 32%)
HSVhsv(211, 83%, 54%)
CMYKcmyk(82.6%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.18, 4.92, -37.84)
CIE-LCHlch(33.18, 38.16, 277.40°)
OKLaboklab(42.49% -0.0322 -0.1083)
OKLCHoklch(42.49% 0.113 253.4)
XYZxyz(7.7584, 7.6202, 25.1018)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F8A #8A5318
analogous
#18888A #184F8A #1A188A
triadic
#184F8A #8A184F #4F8A18
tetradic
#184F8A #8A1888 #8A5318 #188A1A
square
#184F8A #8A1888 #8A5318 #188A1A
split-complementary
#184F8A #8A1A18 #888A18
monochromatic
#061322 #0F3156 #184F8A #216DBE #3F8BDE

Accessibility & contrast

On white

8.32
#184F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#184F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F8A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F8A#FFFFFF#000000##FFFFFF
##184F8A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #184f8a;
/* rgb */ color: rgb(24, 79, 138);
/* oklch */ color: oklch(42.5% 0.113 253.4);
Tailwind
colors: {
  custom: {
    50: '#697fac',
    500: '#184f8a',
    950: '#000000',
  },
}
SCSS
$custom: #184f8a;
$custom-light: #697fac;
$custom-dark: #000000;
JSON
{
  "hex": "#184f8a",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 211.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.11298,
    "h": 253.4
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#184F8A
secondary
#BD8140
accent
#973BED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #184F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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