#183F5F#183F5F

#183F5F is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.071 H 246.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#183F5F
RGBrgb(24, 63, 95)
HSLhsl(207, 60%, 23%)
HSVhsv(207, 75%, 37%)
CMYKcmyk(74.7%, 33.7%, 0%, 62.7%)
CIE-LABlab(25.49, -1.79, -22.97)
CIE-LCHlch(25.49, 23.04, 265.54°)
OKLaboklab(35.64% -0.0284 -0.065)
OKLCHoklch(35.64% 0.071 246.4)
XYZxyz(4.2190, 4.5750, 11.4850)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F5F #5F3818
analogous
#185F5B #183F5F #181B5F
triadic
#183F5F #5F183F #3F5F18
tetradic
#183F5F #5B185F #5F3818 #1B5F18
square
#183F5F #5B185F #5F3818 #1B5F18
split-complementary
#183F5F #5F181B #5F5B18
monochromatic
#061018 #0C1F2E #183F5F #245F90 #3180C1

Accessibility & contrast

On white

10.97
#183F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F5F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F5F#FFFFFF#000000##FFFFFF
##183F5F1.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314060
Deuteranopia (green-blind)
#27395E
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183f5f;
/* rgb */ color: rgb(24, 63, 95);
/* oklch */ color: oklch(35.6% 0.071 246.4);
Tailwind
colors: {
  custom: {
    50: '#5f738c',
    500: '#183f5f',
    950: '#000000',
  },
}
SCSS
$custom: #183f5f;
$custom-light: #5f738c;
$custom-dark: #000000;
JSON
{
  "hex": "#183f5f",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 95
  },
  "hsl": {
    "h": 207.042,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.07095,
    "h": 246.4
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#183F5F
secondary
#95653D
accent
#8C45E3
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #183F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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