#183D5F#183D5F

#183D5F is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.073 H 249.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#183D5F
RGBrgb(24, 61, 95)
HSLhsl(209, 60%, 23%)
HSVhsv(209, 75%, 37%)
CMYKcmyk(74.7%, 35.8%, 0%, 62.7%)
CIE-LABlab(24.82, -0.45, -24.02)
CIE-LCHlch(24.82, 24.02, 268.93°)
OKLaboklab(35.12% -0.0261 -0.0681)
OKLCHoklch(35.12% 0.073 249)
XYZxyz(4.1102, 4.3575, 11.4487)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D5F #5F3A18
analogous
#185F5D #183D5F #181A5F
triadic
#183D5F #5F183D #3D5F18
tetradic
#183D5F #5D185F #5F3A18 #1A5F18
square
#183D5F #5D185F #5F3A18 #1A5F18
split-complementary
#183D5F #5F181A #5F5D18
monochromatic
#061018 #0C1E2E #183D5F #245C90 #317CC1

Accessibility & contrast

On white

11.22
#183D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183D5F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D5F#FFFFFF#000000##FFFFFF
##183D5F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F60
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#004549
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183d5f;
/* rgb */ color: rgb(24, 61, 95);
/* oklch */ color: oklch(35.1% 0.073 249.0);
Tailwind
colors: {
  custom: {
    50: '#5f728c',
    500: '#183d5f',
    950: '#000000',
  },
}
SCSS
$custom: #183d5f;
$custom-light: #5f728c;
$custom-dark: #000000;
JSON
{
  "hex": "#183d5f",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 95
  },
  "hsl": {
    "h": 208.732,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.07296,
    "h": 249
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#183D5F
secondary
#95683D
accent
#9145E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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