#183C5F#183C5F

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

Color values

HEX#183C5F
RGBrgb(24, 60, 95)
HSLhsl(210, 60%, 23%)
HSVhsv(210, 75%, 37%)
CMYKcmyk(74.7%, 36.8%, 0%, 62.7%)
CIE-LABlab(24.49, 0.23, -24.54)
CIE-LCHlch(24.49, 24.55, 270.54°)
OKLaboklab(34.86% -0.025 -0.0697)
OKLCHoklch(34.86% 0.074 250.2)
XYZxyz(4.0573, 4.2517, 11.4311)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C5F #5F3B18
analogous
#185F5E #183C5F #18195F
triadic
#183C5F #5F183C #3C5F18
tetradic
#183C5F #5E185F #5F3B18 #195F18
square
#183C5F #5E185F #5F3B18 #195F18
split-complementary
#183C5F #5F1819 #5F5E18
monochromatic
#060F18 #0C1D2E #183C5F #245B90 #317AC1

Accessibility & contrast

On white

11.35
#183C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C5F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C5F#FFFFFF#000000##FFFFFF
##183C5F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E60
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#004449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183c5f;
/* rgb */ color: rgb(24, 60, 95);
/* oklch */ color: oklch(34.9% 0.074 250.2);
Tailwind
colors: {
  custom: {
    50: '#5f718c',
    500: '#183c5f',
    950: '#000000',
  },
}
SCSS
$custom: #183c5f;
$custom-light: #5f718c;
$custom-dark: #000000;
JSON
{
  "hex": "#183c5f",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 95
  },
  "hsl": {
    "h": 209.577,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34856,
    "c": 0.07402,
    "h": 250.2
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#183C5F
secondary
#95693D
accent
#9345E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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