#184F7F#184F7F

#184F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.098 H 249.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#184F7F
RGBrgb(24, 79, 127)
HSLhsl(208, 68%, 30%)
HSVhsv(208, 81%, 50%)
CMYKcmyk(81.1%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.52, 0.47, -32.12)
CIE-LCHlch(32.52, 32.12, 270.84°)
OKLaboklab(41.76% -0.0351 -0.0915)
OKLCHoklch(41.76% 0.098 249)
XYZxyz(7.0020, 7.3176, 21.1180)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F7F #7F4818
analogous
#187F7C #184F7F #181C7F
triadic
#184F7F #7F184F #4F7F18
tetradic
#184F7F #7C187F #7F4818 #1C7F18
square
#184F7F #7C187F #7F4818 #1C7F18
split-complementary
#184F7F #7F181C #7F7C18
monochromatic
#05101A #0E2F4C #184F7F #226FB2 #388ED9

Accessibility & contrast

On white

8.52
#184F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#184F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F7F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F7F#FFFFFF#000000##FFFFFF
##184F7F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #184f7f;
/* rgb */ color: rgb(24, 79, 127);
/* oklch */ color: oklch(41.8% 0.098 249.0);
Tailwind
colors: {
  custom: {
    50: '#6680a4',
    500: '#184f7f',
    950: '#000000',
  },
}
SCSS
$custom: #184f7f;
$custom-light: #6680a4;
$custom-dark: #000000;
JSON
{
  "hex": "#184f7f",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 207.961,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.09799,
    "h": 249
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#184F7F
secondary
#B3753F
accent
#8E3DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #184F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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