#183A51#183A51

#183A51 is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.057 H 240.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#183A51
RGBrgb(24, 58, 81)
HSLhsl(204, 54%, 21%)
HSVhsv(204, 70%, 32%)
CMYKcmyk(70.4%, 28.4%, 0%, 68.2%)
CIE-LABlab(23.05, -3.97, -17.62)
CIE-LCHlch(23.05, 18.06, 257.29°)
OKLaboklab(33.47% -0.0275 -0.0496)
OKLCHoklch(33.47% 0.057 240.9)
XYZxyz(3.3744, 3.8140, 8.3413)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A51 #512F18
analogous
#18514B #183A51 #181D51
triadic
#183A51 #51183A #3A5118
tetradic
#183A51 #4B1851 #512F18 #1D5118
square
#183A51 #4B1851 #512F18 #1D5118
split-complementary
#183A51 #51181D #514B18
monochromatic
#071118 #0A1822 #183A51 #265C80 #347EAF

Accessibility & contrast

On white

11.91
#183A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#183A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A51
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A51#FFFFFF#000000##FFFFFF
##183A511.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A52
Deuteranopia (green-blind)
#283451
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183a51;
/* rgb */ color: rgb(24, 58, 81);
/* oklch */ color: oklch(33.5% 0.057 240.9);
Tailwind
colors: {
  custom: {
    50: '#5c7082',
    500: '#183a51',
    950: '#000000',
  },
}
SCSS
$custom: #183a51;
$custom-light: #5c7082;
$custom-dark: #000000;
JSON
{
  "hex": "#183a51",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 81
  },
  "hsl": {
    "h": 204.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3347,
    "c": 0.0567,
    "h": 240.9
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#183A51
secondary
#885B3D
accent
#864ADE
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #183A51

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

Preview Lab → · Contrast checker → · Palette generator →

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