#18395F#18395F

#18395F is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.1% C 0.077 H 253.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#18395F
RGBrgb(24, 57, 95)
HSLhsl(212, 60%, 23%)
HSVhsv(212, 75%, 37%)
CMYKcmyk(74.7%, 40%, 0%, 62.7%)
CIE-LABlab(23.49, 2.29, -26.12)
CIE-LCHlch(23.49, 26.22, 275.02°)
OKLaboklab(34.08% -0.0217 -0.0743)
OKLCHoklch(34.08% 0.077 253.7)
XYZxyz(3.9046, 3.9463, 11.3802)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18395F #5F3E18
analogous
#185C5F #18395F #1A185F
triadic
#18395F #5F1839 #395F18
tetradic
#18395F #5F185C #5F3E18 #185F1A
square
#18395F #5F185C #5F3E18 #185F1A
split-complementary
#18395F #5F1A18 #5C5F18
monochromatic
#060F18 #0C1C2E #18395F #245690 #3174C1

Accessibility & contrast

On white

11.74
#18395F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#18395F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18395F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18395F#FFFFFF#000000##FFFFFF
##18395F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18395f;
/* rgb */ color: rgb(24, 57, 95);
/* oklch */ color: oklch(34.1% 0.077 253.7);
Tailwind
colors: {
  custom: {
    50: '#5f6f8c',
    500: '#18395f',
    950: '#000000',
  },
}
SCSS
$custom: #18395f;
$custom-light: #5f6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18395f",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 212.113,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34078,
    "c": 0.07741,
    "h": 253.7
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#18395F
secondary
#956C3D
accent
#9945E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18395F

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

Preview Lab → · Contrast checker → · Palette generator →

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