#18538F#18538F

#18538F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.115 H 252.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#18538F
RGBrgb(24, 83, 143)
HSLhsl(210, 71%, 33%)
HSVhsv(210, 83%, 56%)
CMYKcmyk(83.2%, 42%, 0%, 43.9%)
CIE-LABlab(34.73, 4.29, -38.42)
CIE-LCHlch(34.73, 38.66, 276.37°)
OKLaboklab(43.8% -0.0345 -0.1099)
OKLCHoklch(43.8% 0.115 252.6)
XYZxyz(8.4260, 8.3628, 27.1514)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18538F #8F5418
analogous
#188E8F #18538F #19188F
triadic
#18538F #8F1853 #538F18
tetradic
#18538F #8F188E #8F5418 #188F19
square
#18538F #8F188E #8F5418 #188F19
split-complementary
#18538F #8F1918 #8E8F18
monochromatic
#061626 #0F355B #18538F #2171C3 #4290DF

Accessibility & contrast

On white

7.86
#18538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#18538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18538F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18538F#FFFFFF#000000##FFFFFF
##18538F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #18538f;
/* rgb */ color: rgb(24, 83, 143);
/* oklch */ color: oklch(43.8% 0.115 252.6);
Tailwind
colors: {
  custom: {
    50: '#6a82b0',
    500: '#18538f',
    950: '#000000',
  },
}
SCSS
$custom: #18538f;
$custom-light: #6a82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18538f",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 210.252,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.438,
    "c": 0.11522,
    "h": 252.6
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#18538F
secondary
#C08243
accent
#953AEE
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18538F

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

Preview Lab → · Contrast checker → · Palette generator →

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