#183D5B#183D5B

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

Color values

HEX#183D5B
RGBrgb(24, 61, 91)
HSLhsl(207, 58%, 23%)
HSVhsv(207, 74%, 36%)
CMYKcmyk(73.6%, 33%, 0%, 64.3%)
CIE-LABlab(24.60, -2.05, -21.77)
CIE-LCHlch(24.60, 21.86, 264.63°)
OKLaboklab(34.87% -0.0275 -0.0615)
OKLCHoklch(34.87% 0.067 245.9)
XYZxyz(3.9330, 4.2866, 10.5156)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D5B #5B3618
analogous
#185B58 #183D5B #181B5B
triadic
#183D5B #5B183D #3D5B18
tetradic
#183D5B #58185B #5B3618 #1B5B18
square
#183D5B #58185B #5B3618 #1B5B18
split-complementary
#183D5B #5B181B #5B5818
monochromatic
#061018 #0B1D2B #183D5B #255D8B #327EBC

Accessibility & contrast

On white

11.31
#183D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183D5B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D5B#FFFFFF#000000##FFFFFF
##183D5B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#26385A
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183d5b;
/* rgb */ color: rgb(24, 61, 91);
/* oklch */ color: oklch(34.9% 0.067 245.9);
Tailwind
colors: {
  custom: {
    50: '#5e7289',
    500: '#183d5b',
    950: '#000000',
  },
}
SCSS
$custom: #183d5b;
$custom-light: #5e7289;
$custom-dark: #000000;
JSON
{
  "hex": "#183d5b",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 91
  },
  "hsl": {
    "h": 206.866,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34869,
    "c": 0.06741,
    "h": 245.9
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#183D5B
secondary
#92633D
accent
#8C46E1
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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