#182F42#182F42

#182F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.045 H 245.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#182F42
RGBrgb(24, 47, 66)
HSLhsl(207, 47%, 18%)
HSVhsv(207, 64%, 26%)
CMYKcmyk(63.6%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.45, -2.31, -14.68)
CIE-LCHlch(18.45, 14.86, 261.06°)
OKLaboklab(29.59% -0.0191 -0.0411)
OKLCHoklch(29.59% 0.045 245.1)
XYZxyz(2.3762, 2.6204, 5.5338)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F42 #422B18
analogous
#184240 #182F42 #181A42
triadic
#182F42 #42182F #2F4218
tetradic
#182F42 #401842 #422B18 #1A4218
square
#182F42 #401842 #422B18 #1A4218
split-complementary
#182F42 #42181A #424018
monochromatic
#081016 #081016 #182F42 #284F6F #396F9C

Accessibility & contrast

On white

13.78
#182F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F42
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F42#FFFFFF#000000##FFFFFF
##182F421.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#212B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182f42;
/* rgb */ color: rgb(24, 47, 66);
/* oklch */ color: oklch(29.6% 0.045 245.1);
Tailwind
colors: {
  custom: {
    50: '#596776',
    500: '#182f42',
    950: '#000000',
  },
}
SCSS
$custom: #182f42;
$custom-light: #596776;
$custom-dark: #000000;
JSON
{
  "hex": "#182f42",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 207.143,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.04537,
    "h": 245.1
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#182F42
secondary
#79583D
accent
#8E51D6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040608
muted
#797A7B

Preview Lab

Preview with #182F42

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

Preview Lab → · Contrast checker → · Palette generator →

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