#183F42#183F42

#183F42 is a dark, muted teal. Relative luminance 0.041; OKLCH L 34.1% C 0.044 H 202.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#183F42
RGBrgb(24, 63, 66)
HSLhsl(184, 47%, 18%)
HSVhsv(184, 64%, 26%)
CMYKcmyk(63.6%, 4.5%, 0%, 74.1%)
CIE-LABlab(24.14, -12.61, -6.00)
CIE-LCHlch(24.14, 13.97, 205.43°)
OKLaboklab(34.12% -0.0407 -0.0166)
OKLCHoklch(34.12% 0.044 202.2)
XYZxyz(3.1372, 4.1422, 5.7874)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F42 #421B18
analogous
#184230 #183F42 #182A42
triadic
#183F42 #42183F #3F4218
tetradic
#183F42 #301842 #421B18 #2A4218
square
#183F42 #301842 #421B18 #2A4218
split-complementary
#183F42 #42182A #423018
monochromatic
#081516 #081516 #183F42 #286A6F #39959C

Accessibility & contrast

On white

11.48
#183F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#183F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F42
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F42#FFFFFF#000000##FFFFFF
##183F421.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#333742
Tritanopia (blue-blind)
#004140
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183f42;
/* rgb */ color: rgb(24, 63, 66);
/* oklch */ color: oklch(34.1% 0.044 202.2);
Tailwind
colors: {
  custom: {
    50: '#5a7476',
    500: '#183f42',
    950: '#000000',
  },
}
SCSS
$custom: #183f42;
$custom-light: #5a7476;
$custom-dark: #000000;
JSON
{
  "hex": "#183f42",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 66
  },
  "hsl": {
    "h": 184.286,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.04396,
    "h": 202.2
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#183F42
secondary
#79413D
accent
#5B51D6
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #183F42

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

Preview Lab → · Contrast checker → · Palette generator →

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