#183D5C#183D5C

#183D5C is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.9% C 0.069 H 246.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#183D5C
RGBrgb(24, 61, 92)
HSLhsl(207, 59%, 23%)
HSVhsv(207, 74%, 36%)
CMYKcmyk(73.9%, 33.7%, 0%, 63.9%)
CIE-LABlab(24.65, -1.65, -22.33)
CIE-LCHlch(24.65, 22.39, 265.78°)
OKLaboklab(34.93% -0.0271 -0.0632)
OKLCHoklch(34.93% 0.069 246.8)
XYZxyz(3.9765, 4.3040, 10.7443)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D5C #5C3718
analogous
#185C59 #183D5C #181B5C
triadic
#183D5C #5C183D #3D5C18
tetradic
#183D5C #59185C #5C3718 #1B5C18
square
#183D5C #59185C #5C3718 #1B5C18
split-complementary
#183D5C #5C181B #5C5918
monochromatic
#061018 #0B1D2B #183D5C #255D8D #317DBD

Accessibility & contrast

On white

11.29
#183D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D5C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D5C#FFFFFF#000000##FFFFFF
##183D5C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#26385B
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183d5c;
/* rgb */ color: rgb(24, 61, 92);
/* oklch */ color: oklch(34.9% 0.069 246.8);
Tailwind
colors: {
  custom: {
    50: '#5e728a',
    500: '#183d5c',
    950: '#000000',
  },
}
SCSS
$custom: #183d5c;
$custom-light: #5e728a;
$custom-dark: #000000;
JSON
{
  "hex": "#183d5c",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 92
  },
  "hsl": {
    "h": 207.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.06877,
    "h": 246.8
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#183D5C
secondary
#93643D
accent
#8D46E2
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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