#18395D#18395D

#18395D is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.074 H 252.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#18395D
RGBrgb(24, 57, 93)
HSLhsl(211, 59%, 23%)
HSVhsv(211, 74%, 36%)
CMYKcmyk(74.2%, 38.7%, 0%, 63.5%)
CIE-LABlab(23.37, 1.48, -25.00)
CIE-LCHlch(23.37, 25.05, 273.39°)
OKLaboklab(33.95% -0.0223 -0.071)
OKLCHoklch(33.95% 0.074 252.6)
XYZxyz(3.8149, 3.9104, 10.9075)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18395D #5D3C18
analogous
#185B5D #18395D #19185D
triadic
#18395D #5D1839 #395D18
tetradic
#18395D #5D185B #5D3C18 #185D19
square
#18395D #5D185B #5D3C18 #185D19
split-complementary
#18395D #5D1918 #5B5D18
monochromatic
#060F18 #0B1B2C #18395D #25578E #3175BE

Accessibility & contrast

On white

11.78
#18395D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#18395D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18395D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18395D#FFFFFF#000000##FFFFFF
##18395D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5E
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18395d;
/* rgb */ color: rgb(24, 57, 93);
/* oklch */ color: oklch(33.9% 0.074 252.6);
Tailwind
colors: {
  custom: {
    50: '#5e6f8b',
    500: '#18395d',
    950: '#000000',
  },
}
SCSS
$custom: #18395d;
$custom-light: #5e6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18395d",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 211.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.07445,
    "h": 252.6
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#18395D
secondary
#936A3D
accent
#9746E2
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18395D

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

Preview Lab → · Contrast checker → · Palette generator →

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