#183D5A#183D5A

#183D5A is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.066 H 245.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#183D5A
RGBrgb(24, 61, 90)
HSLhsl(206, 58%, 22%)
HSVhsv(206, 73%, 35%)
CMYKcmyk(73.3%, 32.2%, 0%, 64.7%)
CIE-LABlab(24.54, -2.44, -21.20)
CIE-LCHlch(24.54, 21.34, 263.43°)
OKLaboklab(34.81% -0.0278 -0.0599)
OKLCHoklch(34.81% 0.066 245.1)
XYZxyz(3.8902, 4.2695, 10.2899)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D5A #5A3518
analogous
#185A56 #183D5A #181C5A
triadic
#183D5A #5A183D #3D5A18
tetradic
#183D5A #56185A #5A3518 #1C5A18
square
#183D5A #56185A #5A3518 #1C5A18
split-complementary
#183D5A #5A181C #5A5618
monochromatic
#061018 #0B1C2A #183D5A #255E8A #327EBB

Accessibility & contrast

On white

11.33
#183D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#183D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D5A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D5A#FFFFFF#000000##FFFFFF
##183D5A1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5B
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183d5a;
/* rgb */ color: rgb(24, 61, 90);
/* oklch */ color: oklch(34.8% 0.066 245.1);
Tailwind
colors: {
  custom: {
    50: '#5e7289',
    500: '#183d5a',
    950: '#000000',
  },
}
SCSS
$custom: #183d5a;
$custom-light: #5e7289;
$custom-dark: #000000;
JSON
{
  "hex": "#183d5a",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 90
  },
  "hsl": {
    "h": 206.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.06604,
    "h": 245.1
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#183D5A
secondary
#91623D
accent
#8B47E1
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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