#184A8F#184A8F

#184A8F is a dark, vivid cyan. Relative luminance 0.071; OKLCH L 41.7% C 0.126 H 257.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#184A8F
RGBrgb(24, 74, 143)
HSLhsl(215, 71%, 33%)
HSVhsv(215, 83%, 56%)
CMYKcmyk(83.2%, 48.3%, 0%, 43.9%)
CIE-LABlab(31.97, 10.32, -42.84)
CIE-LCHlch(31.97, 44.06, 283.55°)
OKLaboklab(41.67% -0.0269 -0.1231)
OKLCHoklch(41.67% 0.126 257.7)
XYZxyz(7.7816, 7.0740, 26.9366)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A8F #8F5D18
analogous
#18858F #184A8F #22188F
triadic
#184A8F #8F184A #4A8F18
tetradic
#184A8F #8F1885 #8F5D18 #188F22
square
#184A8F #8F1885 #8F5D18 #188F22
split-complementary
#184A8F #8F2218 #858F18
monochromatic
#061426 #0F2F5B #184A8F #2165C3 #4284DF

Accessibility & contrast

On white

8.70
#184A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#184A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A8F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A8F#FFFFFF#000000##FFFFFF
##184A8F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #184a8f;
/* rgb */ color: rgb(24, 74, 143);
/* oklch */ color: oklch(41.7% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#6a7bb0',
    500: '#184a8f',
    950: '#000000',
  },
}
SCSS
$custom: #184a8f;
$custom-light: #6a7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#184a8f",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 214.79,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.126,
    "h": 257.7
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#184A8F
secondary
#C08B43
accent
#A23AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #184A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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