#184A8A#184A8A

#184A8A is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.119 H 256.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#184A8A
RGBrgb(24, 74, 138)
HSLhsl(214, 70%, 32%)
HSVhsv(214, 83%, 54%)
CMYKcmyk(82.6%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.64, 8.28, -40.31)
CIE-LCHlch(31.64, 41.15, 281.60°)
OKLaboklab(41.3% -0.0279 -0.1157)
OKLCHoklch(41.3% 0.119 256.5)
XYZxyz(7.4112, 6.9258, 24.9860)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A8A #8A5818
analogous
#18838A #184A8A #1F188A
triadic
#184A8A #8A184A #4A8A18
tetradic
#184A8A #8A1883 #8A5818 #188A1F
square
#184A8A #8A1883 #8A5818 #188A1F
split-complementary
#184A8A #8A1F18 #838A18
monochromatic
#061222 #0F2E56 #184A8A #2166BE #3F84DE

Accessibility & contrast

On white

8.80
#184A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#184A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A8A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A8A#FFFFFF#000000##FFFFFF
##184A8A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#0E4689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #184a8a;
/* rgb */ color: rgb(24, 74, 138);
/* oklch */ color: oklch(41.3% 0.119 256.5);
Tailwind
colors: {
  custom: {
    50: '#697bac',
    500: '#184a8a',
    950: '#000000',
  },
}
SCSS
$custom: #184a8a;
$custom-light: #697bac;
$custom-dark: #000000;
JSON
{
  "hex": "#184a8a",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 213.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.11898,
    "h": 256.5
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#184A8A
secondary
#BD8740
accent
#9F3BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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