#183F51#183F51

#183F51 is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.054 H 231.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#183F51
RGBrgb(24, 63, 81)
HSLhsl(199, 54%, 21%)
HSVhsv(199, 70%, 32%)
CMYKcmyk(70.4%, 22.2%, 0%, 68.2%)
CIE-LABlab(24.77, -7.23, -14.94)
CIE-LCHlch(24.77, 16.60, 244.16°)
OKLaboklab(34.84% -0.0337 -0.0418)
OKLCHoklch(34.84% 0.054 231.1)
XYZxyz(3.6388, 4.3429, 8.4295)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F51 #512A18
analogous
#185146 #183F51 #182251
triadic
#183F51 #51183F #3F5118
tetradic
#183F51 #461851 #512A18 #225118
square
#183F51 #461851 #512A18 #225118
split-complementary
#183F51 #511822 #514618
monochromatic
#071218 #0A1A22 #183F51 #266480 #3488AF

Accessibility & contrast

On white

11.24
#183F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#183F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F51
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F51#FFFFFF#000000##FFFFFF
##183F511.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E52
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183f51;
/* rgb */ color: rgb(24, 63, 81);
/* oklch */ color: oklch(34.8% 0.054 231.1);
Tailwind
colors: {
  custom: {
    50: '#5c7482',
    500: '#183f51',
    950: '#000000',
  },
}
SCSS
$custom: #183f51;
$custom-light: #5c7482;
$custom-dark: #000000;
JSON
{
  "hex": "#183f51",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 81
  },
  "hsl": {
    "h": 198.947,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.05371,
    "h": 231.1
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#183F51
secondary
#88553D
accent
#794ADE
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #183F51

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

Preview Lab → · Contrast checker → · Palette generator →

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