#183D54#183D54

#183D54 is a dark, muted cyan. Relative luminance 0.042; OKLCH L 34.5% C 0.058 H 239.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#183D54
RGBrgb(24, 61, 84)
HSLhsl(203, 56%, 21%)
HSVhsv(203, 71%, 33%)
CMYKcmyk(71.4%, 27.4%, 0%, 67.1%)
CIE-LABlab(24.23, -4.79, -17.75)
CIE-LCHlch(24.23, 18.39, 254.90°)
OKLaboklab(34.46% -0.03 -0.0499)
OKLCHoklch(34.46% 0.058 239)
XYZxyz(3.6451, 4.1714, 8.9988)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D54 #542F18
analogous
#18544D #183D54 #181F54
triadic
#183D54 #54183D #3D5418
tetradic
#183D54 #4D1854 #542F18 #1F5418
square
#183D54 #4D1854 #542F18 #1F5418
split-complementary
#183D54 #54181F #544D18
monochromatic
#071118 #0A1A24 #183D54 #266084 #3382B3

Accessibility & contrast

On white

11.45
#183D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#183D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D54
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D54#FFFFFF#000000##FFFFFF
##183D541.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#004345
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183d54;
/* rgb */ color: rgb(24, 61, 84);
/* oklch */ color: oklch(34.5% 0.058 239.0);
Tailwind
colors: {
  custom: {
    50: '#5d7284',
    500: '#183d54',
    950: '#000000',
  },
}
SCSS
$custom: #183d54;
$custom-light: #5d7284;
$custom-dark: #000000;
JSON
{
  "hex": "#183d54",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 84
  },
  "hsl": {
    "h": 203,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34458,
    "c": 0.05827,
    "h": 239
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#183D54
secondary
#8B5B3D
accent
#8249DF
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #183D54

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

Preview Lab → · Contrast checker → · Palette generator →

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