#18538E#18538E

#18538E is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.114 H 252.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#18538E
RGBrgb(24, 83, 142)
HSLhsl(210, 71%, 33%)
HSVhsv(210, 83%, 56%)
CMYKcmyk(83.1%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.67, 3.89, -37.91)
CIE-LCHlch(34.67, 38.11, 275.86°)
OKLaboklab(43.73% -0.0348 -0.1084)
OKLCHoklch(43.73% 0.114 252.2)
XYZxyz(8.3506, 8.3327, 26.7542)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18538E #8E5318
analogous
#188E8E #18538E #18188E
triadic
#18538E #8E1853 #538E18
tetradic
#18538E #8E188E #8E5318 #188E18
square
#18538E #8E188E #8E5318 #188E18
split-complementary
#18538E #8E1818 #8E8E18
monochromatic
#061625 #0F345A #18538E #2172C2 #4190DF

Accessibility & contrast

On white

7.87
#18538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18538E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18538E#FFFFFF#000000##FFFFFF
##18538E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #18538e;
/* rgb */ color: rgb(24, 83, 142);
/* oklch */ color: oklch(43.7% 0.114 252.2);
Tailwind
colors: {
  custom: {
    50: '#6a82af',
    500: '#18538e',
    950: '#000000',
  },
}
SCSS
$custom: #18538e;
$custom-light: #6a82af;
$custom-dark: #000000;
JSON
{
  "hex": "#18538e",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 210,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.11385,
    "h": 252.2
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#18538E
secondary
#C08142
accent
#943AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18538E

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

Preview Lab → · Contrast checker → · Palette generator →

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