#183A5B#183A5B

#183A5B is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.070 H 250.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#183A5B
RGBrgb(24, 58, 91)
HSLhsl(210, 58%, 23%)
HSVhsv(210, 74%, 36%)
CMYKcmyk(73.6%, 36.3%, 0%, 64.3%)
CIE-LABlab(23.59, -0.01, -23.35)
CIE-LCHlch(23.59, 23.35, 269.97°)
OKLaboklab(34.08% -0.024 -0.0662)
OKLCHoklch(34.08% 0.07 250.1)
XYZxyz(3.7774, 3.9752, 10.4637)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5B #5B3918
analogous
#185B5A #183A5B #18195B
triadic
#183A5B #5B183A #3A5B18
tetradic
#183A5B #5A185B #5B3918 #195B18
square
#183A5B #5A185B #5B3918 #195B18
split-complementary
#183A5B #5B1819 #5B5A18
monochromatic
#060F18 #0B1B2B #183A5B #25598B #3278BC

Accessibility & contrast

On white

11.70
#183A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#183A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A5B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5B#FFFFFF#000000##FFFFFF
##183A5B1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5C
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183a5b;
/* rgb */ color: rgb(24, 58, 91);
/* oklch */ color: oklch(34.1% 0.070 250.1);
Tailwind
colors: {
  custom: {
    50: '#5e6f89',
    500: '#183a5b',
    950: '#000000',
  },
}
SCSS
$custom: #183a5b;
$custom-light: #5e6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5b",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 91
  },
  "hsl": {
    "h": 209.552,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34076,
    "c": 0.07044,
    "h": 250.1
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#183A5B
secondary
#92673D
accent
#9346E1
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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