#18538B#18538B

#18538B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.110 H 251.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#18538B
RGBrgb(24, 83, 139)
HSLhsl(209, 71%, 32%)
HSVhsv(209, 83%, 55%)
CMYKcmyk(82.7%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.49, 2.68, -36.37)
CIE-LCHlch(34.49, 36.47, 274.21°)
OKLaboklab(43.53% -0.0355 -0.1039)
OKLCHoklch(43.53% 0.11 251.1)
XYZxyz(8.1284, 8.2438, 25.5839)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18538B #8B5018
analogous
#188B8A #18538B #181A8B
triadic
#18538B #8B1853 #538B18
tetradic
#18538B #8A188B #8B5018 #1A8B18
square
#18538B #8A188B #8B5018 #1A8B18
split-complementary
#18538B #8B181A #8B8A18
monochromatic
#061523 #0F3457 #18538B #2172BF #3F91DE

Accessibility & contrast

On white

7.93
#18538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#18538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18538B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18538B#FFFFFF#000000##FFFFFF
##18538B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #18538b;
/* rgb */ color: rgb(24, 83, 139);
/* oklch */ color: oklch(43.5% 0.110 251.1);
Tailwind
colors: {
  custom: {
    50: '#6982ad',
    500: '#18538b',
    950: '#000000',
  },
}
SCSS
$custom: #18538b;
$custom-light: #6982ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18538b",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 209.217,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.1098,
    "h": 251.1
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#18538B
secondary
#BE7E40
accent
#923AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18538B

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

Preview Lab → · Contrast checker → · Palette generator →

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