#184F78#184F78

#184F78 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.089 H 245.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#184F78
RGBrgb(24, 79, 120)
HSLhsl(206, 67%, 28%)
HSVhsv(206, 80%, 47%)
CMYKcmyk(80%, 34.2%, 0%, 52.9%)
CIE-LABlab(32.13, -2.33, -28.39)
CIE-LCHlch(32.13, 28.48, 265.31°)
OKLaboklab(41.33% -0.0372 -0.0806)
OKLCHoklch(41.33% 0.089 245.2)
XYZxyz(6.5615, 7.1414, 18.7983)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F78 #784118
analogous
#187871 #184F78 #181F78
triadic
#184F78 #78184F #4F7818
tetradic
#184F78 #711878 #784118 #1F7818
square
#184F78 #711878 #784118 #1F7818
split-complementary
#184F78 #78181F #787118
monochromatic
#05111A #0E2D45 #184F78 #2271AB #3491D6

Accessibility & contrast

On white

8.65
#184F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#184F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F78
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F78#FFFFFF#000000##FFFFFF
##184F781.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C507A
Deuteranopia (green-blind)
#2E4877
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #184f78;
/* rgb */ color: rgb(24, 79, 120);
/* oklch */ color: oklch(41.3% 0.089 245.2);
Tailwind
colors: {
  custom: {
    50: '#65809f',
    500: '#184f78',
    950: '#000000',
  },
}
SCSS
$custom: #184f78;
$custom-light: #65809f;
$custom-dark: #000000;
JSON
{
  "hex": "#184f78",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 205.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.08877,
    "h": 245.2
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#184F78
secondary
#AD6E3F
accent
#873EEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #184F78

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

Preview Lab → · Contrast checker → · Palette generator →

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