#183B42#183B42

#183B42 is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.042 H 212.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#183B42
RGBrgb(24, 59, 66)
HSLhsl(190, 47%, 18%)
HSVhsv(190, 64%, 26%)
CMYKcmyk(63.6%, 10.6%, 0%, 74.1%)
CIE-LABlab(22.71, -10.18, -8.15)
CIE-LCHlch(22.71, 13.04, 218.70°)
OKLaboklab(32.97% -0.0354 -0.0226)
OKLCHoklch(32.97% 0.042 212.5)
XYZxyz(2.9236, 3.7152, 5.7162)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B42 #421F18
analogous
#184234 #183B42 #182642
triadic
#183B42 #42183B #3B4218
tetradic
#183B42 #341842 #421F18 #264218
square
#183B42 #341842 #421F18 #264218
split-complementary
#183B42 #421826 #423418
monochromatic
#081416 #081416 #183B42 #28636F #398B9C

Accessibility & contrast

On white

12.05
#183B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#183B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B42
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B42#FFFFFF#000000##FFFFFF
##183B421.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#003E3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183b42;
/* rgb */ color: rgb(24, 59, 66);
/* oklch */ color: oklch(33.0% 0.042 212.5);
Tailwind
colors: {
  custom: {
    50: '#5a7176',
    500: '#183b42',
    950: '#000000',
  },
}
SCSS
$custom: #183b42;
$custom-light: #5a7176;
$custom-dark: #000000;
JSON
{
  "hex": "#183b42",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 66
  },
  "hsl": {
    "h": 190,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.04198,
    "h": 212.5
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#183B42
secondary
#79473D
accent
#6851D6
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#040708
muted
#797A7B

Preview Lab

Preview with #183B42

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

Preview Lab → · Contrast checker → · Palette generator →

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