#183960#183960

#183960 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.079 H 254.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#183960
RGBrgb(24, 57, 96)
HSLhsl(213, 60%, 24%)
HSVhsv(213, 75%, 38%)
CMYKcmyk(75%, 40.6%, 0%, 62.4%)
CIE-LABlab(23.55, 2.70, -26.67)
CIE-LCHlch(23.55, 26.81, 275.79°)
OKLaboklab(34.14% -0.0214 -0.0759)
OKLCHoklch(34.14% 0.079 254.2)
XYZxyz(3.9504, 3.9646, 11.6211)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183960 #603F18
analogous
#185D60 #183960 #1B1860
triadic
#183960 #601839 #396018
tetradic
#183960 #60185D #603F18 #18601B
square
#183960 #60185D #603F18 #18601B
split-complementary
#183960 #601B18 #5D6018
monochromatic
#060F18 #0C1C2F #183960 #245691 #3073C2

Accessibility & contrast

On white

11.71
#183960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#183960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183960
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183960#FFFFFF#000000##FFFFFF
##1839601.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C62
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183960;
/* rgb */ color: rgb(24, 57, 96);
/* oklch */ color: oklch(34.1% 0.079 254.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f8d',
    500: '#183960',
    950: '#000000',
  },
}
SCSS
$custom: #183960;
$custom-light: #5f6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#183960",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 96
  },
  "hsl": {
    "h": 212.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.0789,
    "h": 254.2
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#183960
secondary
#966E3D
accent
#9B45E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183960

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

Preview Lab → · Contrast checker → · Palette generator →

#183960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva