#18345A#18345A

#18345A is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.5% C 0.076 H 256.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#18345A
RGBrgb(24, 52, 90)
HSLhsl(215, 58%, 22%)
HSVhsv(215, 73%, 35%)
CMYKcmyk(73.3%, 42.2%, 0%, 64.7%)
CIE-LABlab(21.54, 3.75, -25.95)
CIE-LCHlch(21.54, 26.22, 278.23°)
OKLaboklab(32.45% -0.0175 -0.0739)
OKLCHoklch(32.45% 0.076 256.7)
XYZxyz(3.4495, 3.3880, 10.1430)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18345A #5A3E18
analogous
#18555A #18345A #1D185A
triadic
#18345A #5A1834 #345A18
tetradic
#18345A #5A1855 #5A3E18 #185A1D
square
#18345A #5A1855 #5A3E18 #185A1D
split-complementary
#18345A #5A1D18 #555A18
monochromatic
#060E18 #0B182A #18345A #25508A #326CBB

Accessibility & contrast

On white

12.52
#18345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#18345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18345A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18345A#FFFFFF#000000##FFFFFF
##18345A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18345a;
/* rgb */ color: rgb(24, 52, 90);
/* oklch */ color: oklch(32.5% 0.076 256.7);
Tailwind
colors: {
  custom: {
    50: '#5e6b89',
    500: '#18345a',
    950: '#000000',
  },
}
SCSS
$custom: #18345a;
$custom-light: #5e6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#18345a",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 214.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.07593,
    "h": 256.7
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#18345A
secondary
#916D3D
accent
#A047E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #18345A

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

Preview Lab → · Contrast checker → · Palette generator →

#18345A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva