#183E56#183E56

#183E56 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.060 H 239.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#183E56
RGBrgb(24, 62, 86)
HSLhsl(203, 56%, 22%)
HSVhsv(203, 72%, 34%)
CMYKcmyk(72.1%, 27.9%, 0%, 66.3%)
CIE-LABlab(24.67, -4.67, -18.38)
CIE-LCHlch(24.67, 18.96, 255.73°)
OKLaboklab(34.84% -0.0305 -0.0517)
OKLCHoklch(34.84% 0.06 239.5)
XYZxyz(3.7784, 4.3109, 9.4353)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E56 #563018
analogous
#18564F #183E56 #181F56
triadic
#183E56 #56183E #3E5618
tetradic
#183E56 #4F1856 #563018 #1F5618
square
#183E56 #4F1856 #563018 #1F5618
split-complementary
#183E56 #56181F #564F18
monochromatic
#071118 #0B1C26 #183E56 #256086 #3383B6

Accessibility & contrast

On white

11.28
#183E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E56
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E56#FFFFFF#000000##FFFFFF
##183E561.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#2A3856
Tritanopia (blue-blind)
#004446
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183e56;
/* rgb */ color: rgb(24, 62, 86);
/* oklch */ color: oklch(34.8% 0.060 239.5);
Tailwind
colors: {
  custom: {
    50: '#5d7385',
    500: '#183e56',
    950: '#000000',
  },
}
SCSS
$custom: #183e56;
$custom-light: #5d7385;
$custom-dark: #000000;
JSON
{
  "hex": "#183e56",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 86
  },
  "hsl": {
    "h": 203.226,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34843,
    "c": 0.06002,
    "h": 239.5
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#183E56
secondary
#8D5C3D
accent
#8348E0
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #183E56

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

Preview Lab → · Contrast checker → · Palette generator →

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