#184C8E#184C8E

#184C8E is a dark, vivid cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.122 H 256.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#184C8E
RGBrgb(24, 76, 142)
HSLhsl(214, 71%, 33%)
HSVhsv(214, 83%, 56%)
CMYKcmyk(83.1%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.51, 8.56, -41.36)
CIE-LCHlch(32.51, 42.23, 281.69°)
OKLaboklab(42.06% -0.0287 -0.1187)
OKLCHoklch(42.06% 0.122 256.4)
XYZxyz(7.8418, 7.3151, 26.5846)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184C8E #8E5A18
analogous
#18878E #184C8E #1F188E
triadic
#184C8E #8E184C #4C8E18
tetradic
#184C8E #8E1887 #8E5A18 #188E1F
square
#184C8E #8E1887 #8E5A18 #188E1F
split-complementary
#184C8E #8E1F18 #878E18
monochromatic
#061425 #0F305A #184C8E #2168C2 #4187DF

Accessibility & contrast

On white

8.53
#184C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#184C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184C8E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184C8E#FFFFFF#000000##FFFFFF
##184C8E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #184c8e;
/* rgb */ color: rgb(24, 76, 142);
/* oklch */ color: oklch(42.1% 0.122 256.4);
Tailwind
colors: {
  custom: {
    50: '#6a7daf',
    500: '#184c8e',
    950: '#000000',
  },
}
SCSS
$custom: #184c8e;
$custom-light: #6a7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#184c8e",
  "rgb": {
    "r": 24,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 213.559,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.12213,
    "h": 256.4
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#184C8E
secondary
#C08842
accent
#9F3AEE
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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