#18507F#18507F

#18507F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.097 H 248.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#18507F
RGBrgb(24, 80, 127)
HSLhsl(207, 68%, 30%)
HSVhsv(207, 81%, 50%)
CMYKcmyk(81.1%, 37%, 0%, 50.2%)
CIE-LABlab(32.84, -0.19, -31.61)
CIE-LCHlch(32.84, 31.61, 269.66°)
OKLaboklab(42.01% -0.036 -0.09)
OKLCHoklch(42.01% 0.097 248.2)
XYZxyz(7.0746, 7.4630, 21.1422)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18507F #7F4718
analogous
#187F7B #18507F #181C7F
triadic
#18507F #7F1850 #507F18
tetradic
#18507F #7B187F #7F4718 #1C7F18
square
#18507F #7B187F #7F4718 #1C7F18
split-complementary
#18507F #7F181C #7F7B18
monochromatic
#05101A #0E304C #18507F #2270B2 #3890D9

Accessibility & contrast

On white

8.42
#18507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18507F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18507F#FFFFFF#000000##FFFFFF
##18507F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18507f;
/* rgb */ color: rgb(24, 80, 127);
/* oklch */ color: oklch(42.0% 0.097 248.2);
Tailwind
colors: {
  custom: {
    50: '#6680a4',
    500: '#18507f',
    950: '#000000',
  },
}
SCSS
$custom: #18507f;
$custom-light: #6680a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18507f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 207.379,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.09694,
    "h": 248.2
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#18507F
secondary
#B3743F
accent
#8C3DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #18507F

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

Preview Lab → · Contrast checker → · Palette generator →

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