#183A5D#183A5D

#183A5D is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.073 H 251.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#183A5D
RGBrgb(24, 58, 93)
HSLhsl(210, 59%, 23%)
HSVhsv(210, 74%, 36%)
CMYKcmyk(74.2%, 37.6%, 0%, 63.5%)
CIE-LABlab(23.71, 0.79, -24.48)
CIE-LCHlch(23.71, 24.49, 271.86°)
OKLaboklab(34.21% -0.0234 -0.0695)
OKLCHoklch(34.21% 0.073 251.4)
XYZxyz(3.8648, 4.0102, 10.9242)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5D #5D3B18
analogous
#185C5D #183A5D #19185D
triadic
#183A5D #5D183A #3A5D18
tetradic
#183A5D #5D185C #5D3B18 #185D19
square
#183A5D #5D185C #5D3B18 #185D19
split-complementary
#183A5D #5D1918 #5C5D18
monochromatic
#060F18 #0B1C2C #183A5D #25588E #3177BE

Accessibility & contrast

On white

11.65
#183A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A5D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5D#FFFFFF#000000##FFFFFF
##183A5D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183a5d;
/* rgb */ color: rgb(24, 58, 93);
/* oklch */ color: oklch(34.2% 0.073 251.4);
Tailwind
colors: {
  custom: {
    50: '#5e6f8b',
    500: '#183a5d',
    950: '#000000',
  },
}
SCSS
$custom: #183a5d;
$custom-light: #5e6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5d",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 210.435,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.07332,
    "h": 251.4
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#183A5D
secondary
#93693D
accent
#9546E2
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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