#184A8E#184A8E

#184A8E is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.6% C 0.125 H 257.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#184A8E
RGBrgb(24, 74, 142)
HSLhsl(215, 71%, 33%)
HSVhsv(215, 83%, 56%)
CMYKcmyk(83.1%, 47.9%, 0%, 44.3%)
CIE-LABlab(31.91, 9.91, -42.33)
CIE-LCHlch(31.91, 43.48, 283.18°)
OKLaboklab(41.59% -0.0271 -0.1216)
OKLCHoklch(41.59% 0.125 257.4)
XYZxyz(7.7062, 7.0438, 26.5394)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A8E #8E5C18
analogous
#18858E #184A8E #21188E
triadic
#184A8E #8E184A #4A8E18
tetradic
#184A8E #8E1885 #8E5C18 #188E21
square
#184A8E #8E1885 #8E5C18 #188E21
split-complementary
#184A8E #8E2118 #858E18
monochromatic
#061325 #0F2F5A #184A8E #2165C2 #4184DF

Accessibility & contrast

On white

8.72
#184A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #184A8E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A8E#FFFFFF#000000##FFFFFF
##184A8E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #184a8e;
/* rgb */ color: rgb(24, 74, 142);
/* oklch */ color: oklch(41.6% 0.125 257.4);
Tailwind
colors: {
  custom: {
    50: '#6a7baf',
    500: '#184a8e',
    950: '#000000',
  },
}
SCSS
$custom: #184a8e;
$custom-light: #6a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#184a8e",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 214.576,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.1246,
    "h": 257.4
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#184A8E
secondary
#C08A42
accent
#A23AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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