#183E42#183E42

#183E42 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.8% C 0.043 H 204.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#183E42
RGBrgb(24, 62, 66)
HSLhsl(186, 47%, 18%)
HSVhsv(186, 64%, 26%)
CMYKcmyk(63.6%, 6.1%, 0%, 74.1%)
CIE-LABlab(23.78, -12.01, -6.53)
CIE-LCHlch(23.78, 13.68, 208.54°)
OKLaboklab(33.83% -0.0394 -0.0181)
OKLCHoklch(33.83% 0.043 204.6)
XYZxyz(3.0823, 4.0325, 5.7691)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E42 #421C18
analogous
#184231 #183E42 #182942
triadic
#183E42 #42183E #3E4218
tetradic
#183E42 #311842 #421C18 #294218
square
#183E42 #311842 #421C18 #294218
split-complementary
#183E42 #421829 #423118
monochromatic
#081516 #081516 #183E42 #28686F #39929C

Accessibility & contrast

On white

11.62
#183E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#183E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E42
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E42#FFFFFF#000000##FFFFFF
##183E421.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B42
Deuteranopia (green-blind)
#323642
Tritanopia (blue-blind)
#00413F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183e42;
/* rgb */ color: rgb(24, 62, 66);
/* oklch */ color: oklch(33.8% 0.043 204.6);
Tailwind
colors: {
  custom: {
    50: '#5a7376',
    500: '#183e42',
    950: '#000000',
  },
}
SCSS
$custom: #183e42;
$custom-light: #5a7376;
$custom-dark: #000000;
JSON
{
  "hex": "#183e42",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 66
  },
  "hsl": {
    "h": 185.714,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.04334,
    "h": 204.6
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#183E42
secondary
#79433D
accent
#5E51D6
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #183E42

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

Preview Lab → · Contrast checker → · Palette generator →

#183E42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva