#18345B#18345B

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

Color values

HEX#18345B
RGBrgb(24, 52, 91)
HSLhsl(215, 58%, 23%)
HSVhsv(215, 74%, 36%)
CMYKcmyk(73.6%, 42.9%, 0%, 64.3%)
CIE-LABlab(21.60, 4.16, -26.51)
CIE-LCHlch(21.60, 26.83, 278.93°)
OKLaboklab(32.52% -0.0172 -0.0755)
OKLCHoklch(32.52% 0.077 257.1)
XYZxyz(3.4923, 3.4051, 10.3687)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18345B #5B3F18
analogous
#18565B #18345B #1D185B
triadic
#18345B #5B1834 #345B18
tetradic
#18345B #5B1856 #5B3F18 #185B1D
square
#18345B #5B1856 #5B3F18 #185B1D
split-complementary
#18345B #5B1D18 #565B18
monochromatic
#060E18 #0B182B #18345B #25508B #326BBC

Accessibility & contrast

On white

12.49
#18345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18345B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18345B#FFFFFF#000000##FFFFFF
##18345B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18345b;
/* rgb */ color: rgb(24, 52, 91);
/* oklch */ color: oklch(32.5% 0.077 257.1);
Tailwind
colors: {
  custom: {
    50: '#5e6b89',
    500: '#18345b',
    950: '#000000',
  },
}
SCSS
$custom: #18345b;
$custom-light: #5e6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#18345b",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 214.925,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.07747,
    "h": 257.1
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#18345B
secondary
#926E3D
accent
#A146E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #18345B

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

Preview Lab → · Contrast checker → · Palette generator →

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