#183A42#183A42

#183A42 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.7% C 0.042 H 215.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#183A42
RGBrgb(24, 58, 66)
HSLhsl(191, 47%, 18%)
HSVhsv(191, 64%, 26%)
CMYKcmyk(63.6%, 12.1%, 0%, 74.1%)
CIE-LABlab(22.35, -9.55, -8.69)
CIE-LCHlch(22.35, 12.92, 222.30°)
OKLaboklab(32.68% -0.0341 -0.0241)
OKLCHoklch(32.68% 0.042 215.3)
XYZxyz(2.8727, 3.6134, 5.6993)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A42 #422018
analogous
#184235 #183A42 #182542
triadic
#183A42 #42183A #3A4218
tetradic
#183A42 #351842 #422018 #254218
square
#183A42 #351842 #422018 #254218
split-complementary
#183A42 #421825 #423518
monochromatic
#081416 #081416 #183A42 #28616F #39899C

Accessibility & contrast

On white

12.19
#183A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#183A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A42
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A42#FFFFFF#000000##FFFFFF
##183A421.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#003D3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183a42;
/* rgb */ color: rgb(24, 58, 66);
/* oklch */ color: oklch(32.7% 0.042 215.3);
Tailwind
colors: {
  custom: {
    50: '#5a7076',
    500: '#183a42',
    950: '#000000',
  },
}
SCSS
$custom: #183a42;
$custom-light: #5a7076;
$custom-dark: #000000;
JSON
{
  "hex": "#183a42",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 191.429,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32685,
    "c": 0.04172,
    "h": 215.3
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#183A42
secondary
#79493D
accent
#6B51D6
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#040708
muted
#797A7B

Preview Lab

Preview with #183A42

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

Preview Lab → · Contrast checker → · Palette generator →

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