#184A5F#184A5F

#184A5F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.6% C 0.063 H 229.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#184A5F
RGBrgb(24, 74, 95)
HSLhsl(198, 60%, 23%)
HSVhsv(198, 75%, 37%)
CMYKcmyk(74.7%, 22.1%, 0%, 62.7%)
CIE-LABlab(29.20, -8.88, -17.17)
CIE-LCHlch(29.20, 19.33, 242.67°)
OKLaboklab(38.59% -0.0409 -0.0481)
OKLCHoklch(38.59% 0.063 229.6)
XYZxyz(4.8902, 5.9174, 11.7087)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A5F #5F2D18
analogous
#185F50 #184A5F #18265F
triadic
#184A5F #5F184A #4A5F18
tetradic
#184A5F #50185F #5F2D18 #265F18
square
#184A5F #50185F #5F2D18 #265F18
split-complementary
#184A5F #5F1826 #5F5018
monochromatic
#061318 #0C242E #184A5F #247090 #3196C1

Accessibility & contrast

On white

9.62
#184A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#184A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A5F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A5F#FFFFFF#000000##FFFFFF
##184A5F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#35425F
Tritanopia (blue-blind)
#005051
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #184a5f;
/* rgb */ color: rgb(24, 74, 95);
/* oklch */ color: oklch(38.6% 0.063 229.6);
Tailwind
colors: {
  custom: {
    50: '#5f7c8c',
    500: '#184a5f',
    950: '#000000',
  },
}
SCSS
$custom: #184a5f;
$custom-light: #5f7c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#184a5f",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 95
  },
  "hsl": {
    "h": 197.746,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.0632,
    "h": 229.6
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#184A5F
secondary
#95573D
accent
#7445E3
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #184A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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