#18507E#18507E

#18507E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.096 H 247.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#18507E
RGBrgb(24, 80, 126)
HSLhsl(207, 68%, 29%)
HSVhsv(207, 81%, 49%)
CMYKcmyk(81%, 36.5%, 0%, 50.6%)
CIE-LABlab(32.78, -0.59, -31.08)
CIE-LCHlch(32.78, 31.09, 268.92°)
OKLaboklab(41.95% -0.0363 -0.0884)
OKLCHoklch(41.95% 0.096 247.7)
XYZxyz(7.0098, 7.4370, 20.8007)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18507E #7E4618
analogous
#187E79 #18507E #181D7E
triadic
#18507E #7E1850 #507E18
tetradic
#18507E #79187E #7E4618 #1D7E18
square
#18507E #79187E #7E4618 #1D7E18
split-complementary
#18507E #7E181D #7E7918
monochromatic
#05101A #0E2F4B #18507E #2271B1 #3790D9

Accessibility & contrast

On white

8.44
#18507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#18507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18507E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18507E#FFFFFF#000000##FFFFFF
##18507E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18507e;
/* rgb */ color: rgb(24, 80, 126);
/* oklch */ color: oklch(42.0% 0.096 247.7);
Tailwind
colors: {
  custom: {
    50: '#6680a3',
    500: '#18507e',
    950: '#000000',
  },
}
SCSS
$custom: #18507e;
$custom-light: #6680a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18507e",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 207.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.09562,
    "h": 247.7
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#18507E
secondary
#B2733F
accent
#8B3DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #18507E

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

Preview Lab → · Contrast checker → · Palette generator →

#18507E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva