#183A5A#183A5A

#183A5A is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.069 H 249.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#183A5A
RGBrgb(24, 58, 90)
HSLhsl(209, 58%, 22%)
HSVhsv(209, 73%, 35%)
CMYKcmyk(73.3%, 35.6%, 0%, 64.7%)
CIE-LABlab(23.53, -0.42, -22.79)
CIE-LCHlch(23.53, 22.79, 268.95°)
OKLaboklab(34.01% -0.0243 -0.0646)
OKLCHoklch(34.01% 0.069 249.3)
XYZxyz(3.7345, 3.9581, 10.2381)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5A #5A3818
analogous
#185A59 #183A5A #18195A
triadic
#183A5A #5A183A #3A5A18
tetradic
#183A5A #59185A #5A3818 #195A18
square
#183A5A #59185A #5A3818 #195A18
split-complementary
#183A5A #5A1819 #5A5918
monochromatic
#061018 #0B1B2A #183A5A #25598A #3278BB

Accessibility & contrast

On white

11.72
#183A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#183A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A5A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5A#FFFFFF#000000##FFFFFF
##183A5A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5B
Deuteranopia (green-blind)
#233559
Tritanopia (blue-blind)
#004245
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183a5a;
/* rgb */ color: rgb(24, 58, 90);
/* oklch */ color: oklch(34.0% 0.069 249.3);
Tailwind
colors: {
  custom: {
    50: '#5e6f89',
    500: '#183a5a',
    950: '#000000',
  },
}
SCSS
$custom: #183a5a;
$custom-light: #5e6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5a",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 90
  },
  "hsl": {
    "h": 209.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.069,
    "h": 249.3
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#183A5A
secondary
#91663D
accent
#9247E1
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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