#183E54#183E54

#183E54 is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.058 H 237.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#183E54
RGBrgb(24, 62, 84)
HSLhsl(202, 56%, 21%)
HSVhsv(202, 71%, 33%)
CMYKcmyk(71.4%, 26.2%, 0%, 67.1%)
CIE-LABlab(24.57, -5.45, -17.22)
CIE-LCHlch(24.57, 18.06, 252.45°)
OKLaboklab(34.73% -0.0313 -0.0484)
OKLCHoklch(34.73% 0.058 237.1)
XYZxyz(3.6989, 4.2791, 9.0168)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E54 #542E18
analogous
#18544C #183E54 #182054
triadic
#183E54 #54183E #3E5418
tetradic
#183E54 #4C1854 #542E18 #205418
square
#183E54 #4C1854 #542E18 #205418
split-complementary
#183E54 #541820 #544C18
monochromatic
#071218 #0A1B24 #183E54 #266184 #3384B3

Accessibility & contrast

On white

11.31
#183E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E54
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E54#FFFFFF#000000##FFFFFF
##183E541.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#2B3854
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183e54;
/* rgb */ color: rgb(24, 62, 84);
/* oklch */ color: oklch(34.7% 0.058 237.1);
Tailwind
colors: {
  custom: {
    50: '#5d7384',
    500: '#183e54',
    950: '#000000',
  },
}
SCSS
$custom: #183e54;
$custom-light: #5d7384;
$custom-dark: #000000;
JSON
{
  "hex": "#183e54",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 84
  },
  "hsl": {
    "h": 202,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.05759,
    "h": 237.1
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#183E54
secondary
#8B5A3D
accent
#8049DF
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #183E54

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

Preview Lab → · Contrast checker → · Palette generator →

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