#18375F#18375F

#18375F is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.080 H 255.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#18375F
RGBrgb(24, 55, 95)
HSLhsl(214, 60%, 23%)
HSVhsv(214, 75%, 37%)
CMYKcmyk(74.7%, 42.1%, 0%, 62.7%)
CIE-LABlab(22.84, 3.69, -27.16)
CIE-LCHlch(22.84, 27.41, 277.74°)
OKLaboklab(33.57% -0.0195 -0.0774)
OKLCHoklch(33.57% 0.08 255.9)
XYZxyz(3.8077, 3.7524, 11.3479)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18375F #5F4018
analogous
#185A5F #18375F #1C185F
triadic
#18375F #5F1837 #375F18
tetradic
#18375F #5F185A #5F4018 #185F1C
square
#18375F #5F185A #5F4018 #185F1C
split-complementary
#18375F #5F1C18 #5A5F18
monochromatic
#060E18 #0C1B2E #18375F #245390 #3170C1

Accessibility & contrast

On white

12.00
#18375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#18375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18375F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18375F#FFFFFF#000000##FFFFFF
##18375F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#1A335E
Tritanopia (blue-blind)
#004046
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18375f;
/* rgb */ color: rgb(24, 55, 95);
/* oklch */ color: oklch(33.6% 0.080 255.9);
Tailwind
colors: {
  custom: {
    50: '#5f6d8c',
    500: '#18375f',
    950: '#000000',
  },
}
SCSS
$custom: #18375f;
$custom-light: #5f6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18375f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 213.803,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.07982,
    "h": 255.9
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#18375F
secondary
#956F3D
accent
#9E45E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18375F

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

Preview Lab → · Contrast checker → · Palette generator →

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