#18395E#18395E

#18395E is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.076 H 253.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#18395E
RGBrgb(24, 57, 94)
HSLhsl(212, 59%, 23%)
HSVhsv(212, 74%, 37%)
CMYKcmyk(74.5%, 39.4%, 0%, 63.1%)
CIE-LABlab(23.43, 1.89, -25.56)
CIE-LCHlch(23.43, 25.63, 274.23°)
OKLaboklab(34.01% -0.022 -0.0727)
OKLCHoklch(34.01% 0.076 253.2)
XYZxyz(3.8595, 3.9282, 11.1423)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18395E #5E3D18
analogous
#185C5E #18395E #1A185E
triadic
#18395E #5E1839 #395E18
tetradic
#18395E #5E185C #5E3D18 #185E1A
square
#18395E #5E185C #5E3D18 #185E1A
split-complementary
#18395E #5E1A18 #5C5E18
monochromatic
#060F18 #0C1B2D #18395E #24578F #3174C0

Accessibility & contrast

On white

11.76
#18395E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18395E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18395E#FFFFFF#000000##FFFFFF
##18395E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18395e;
/* rgb */ color: rgb(24, 57, 94);
/* oklch */ color: oklch(34.0% 0.076 253.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f8c',
    500: '#18395e',
    950: '#000000',
  },
}
SCSS
$custom: #18395e;
$custom-light: #5f6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18395e",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 211.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.07593,
    "h": 253.2
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#18395E
secondary
#946B3D
accent
#9845E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18395E

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

Preview Lab → · Contrast checker → · Palette generator →

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