#184F8F#184F8F

#184F8F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.120 H 255.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#184F8F
RGBrgb(24, 79, 143)
HSLhsl(212, 71%, 33%)
HSVhsv(212, 83%, 56%)
CMYKcmyk(83.2%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.50, 6.95, -40.39)
CIE-LCHlch(33.50, 40.99, 279.76°)
OKLaboklab(42.84% -0.0311 -0.1158)
OKLCHoklch(42.84% 0.12 255)
XYZxyz(8.1287, 7.7683, 27.0523)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F8F #8F5818
analogous
#188A8F #184F8F #1D188F
triadic
#184F8F #8F184F #4F8F18
tetradic
#184F8F #8F188A #8F5818 #188F1D
square
#184F8F #8F188A #8F5818 #188F1D
split-complementary
#184F8F #8F1D18 #8A8F18
monochromatic
#061526 #0F325B #184F8F #216CC3 #428BDF

Accessibility & contrast

On white

8.22
#184F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#184F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F8F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F8F#FFFFFF#000000##FFFFFF
##184F8F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5591
Deuteranopia (green-blind)
#164A8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #184f8f;
/* rgb */ color: rgb(24, 79, 143);
/* oklch */ color: oklch(42.8% 0.120 255.0);
Tailwind
colors: {
  custom: {
    50: '#6a7fb0',
    500: '#184f8f',
    950: '#000000',
  },
}
SCSS
$custom: #184f8f;
$custom-light: #6a7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#184f8f",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 212.269,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.11989,
    "h": 255
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#184F8F
secondary
#C08643
accent
#9B3AEE
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #184F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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