#18498B#18498B

#18498B is a dark, vivid cyan. Relative luminance 0.068; OKLCH L 41.1% C 0.122 H 257.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#18498B
RGBrgb(24, 73, 139)
HSLhsl(214, 71%, 32%)
HSVhsv(214, 83%, 55%)
CMYKcmyk(82.7%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.40, 9.36, -41.31)
CIE-LCHlch(31.40, 42.36, 282.77°)
OKLaboklab(41.13% -0.0268 -0.1186)
OKLCHoklch(41.13% 0.122 257.3)
XYZxyz(7.4177, 6.8225, 25.3470)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18498B #8B5A18
analogous
#18838B #18498B #21188B
triadic
#18498B #8B1849 #498B18
tetradic
#18498B #8B1883 #8B5A18 #188B21
square
#18498B #8B1883 #8B5A18 #188B21
split-complementary
#18498B #8B2118 #838B18
monochromatic
#061223 #0F2E57 #18498B #2164BF #3F83DE

Accessibility & contrast

On white

8.88
#18498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#18498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18498B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18498B#FFFFFF#000000##FFFFFF
##18498B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#06458A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18498b;
/* rgb */ color: rgb(24, 73, 139);
/* oklch */ color: oklch(41.1% 0.122 257.3);
Tailwind
colors: {
  custom: {
    50: '#697bad',
    500: '#18498b',
    950: '#000000',
  },
}
SCSS
$custom: #18498b;
$custom-light: #697bad;
$custom-dark: #000000;
JSON
{
  "hex": "#18498b",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 214.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.12161,
    "h": 257.3
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#18498B
secondary
#BE8940
accent
#A13AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18498B

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

Preview Lab → · Contrast checker → · Palette generator →

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