#18498C#18498C

#18498C is a dark, vivid cyan. Relative luminance 0.069; OKLCH L 41.2% C 0.123 H 257.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#18498C
RGBrgb(24, 73, 140)
HSLhsl(215, 71%, 32%)
HSVhsv(215, 83%, 55%)
CMYKcmyk(82.9%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.47, 9.77, -41.81)
CIE-LCHlch(31.47, 42.94, 283.16°)
OKLaboklab(41.21% -0.0266 -0.1201)
OKLCHoklch(41.21% 0.123 257.5)
XYZxyz(7.4911, 6.8518, 25.7336)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18498C #8C5B18
analogous
#18838C #18498C #21188C
triadic
#18498C #8C1849 #498C18
tetradic
#18498C #8C1883 #8C5B18 #188C21
square
#18498C #8C1883 #8C5B18 #188C21
split-complementary
#18498C #8C2118 #838C18
monochromatic
#061324 #0F2E58 #18498C #2164C0 #4083DE

Accessibility & contrast

On white

8.86
#18498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#18498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18498C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18498C#FFFFFF#000000##FFFFFF
##18498C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18498c;
/* rgb */ color: rgb(24, 73, 140);
/* oklch */ color: oklch(41.2% 0.123 257.5);
Tailwind
colors: {
  custom: {
    50: '#697bae',
    500: '#18498c',
    950: '#000000',
  },
}
SCSS
$custom: #18498c;
$custom-light: #697bae;
$custom-dark: #000000;
JSON
{
  "hex": "#18498c",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 214.655,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.12303,
    "h": 257.5
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#18498C
secondary
#BF8A41
accent
#A23AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18498C

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

Preview Lab → · Contrast checker → · Palette generator →

#18498C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva