#18365F#18365F

#18365F is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.081 H 256.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#18365F
RGBrgb(24, 54, 95)
HSLhsl(215, 60%, 23%)
HSVhsv(215, 75%, 37%)
CMYKcmyk(74.7%, 43.2%, 0%, 62.7%)
CIE-LABlab(22.51, 4.39, -27.68)
CIE-LCHlch(22.51, 28.03, 279.02°)
OKLaboklab(33.31% -0.0184 -0.079)
OKLCHoklch(33.31% 0.081 256.9)
XYZxyz(3.7607, 3.6584, 11.3322)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18365F #5F4118
analogous
#18595F #18365F #1D185F
triadic
#18365F #5F1836 #365F18
tetradic
#18365F #5F1859 #5F4118 #185F1D
square
#18365F #5F1859 #5F4118 #185F1D
split-complementary
#18365F #5F1D18 #595F18
monochromatic
#060E18 #0C1A2E #18365F #245290 #316EC1

Accessibility & contrast

On white

12.13
#18365F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#18365F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18365F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18365F#FFFFFF#000000##FFFFFF
##18365F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#18335E
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18365f;
/* rgb */ color: rgb(24, 54, 95);
/* oklch */ color: oklch(33.3% 0.081 256.9);
Tailwind
colors: {
  custom: {
    50: '#5f6c8d',
    500: '#18365f',
    950: '#000000',
  },
}
SCSS
$custom: #18365f;
$custom-light: #5f6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#18365f",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 95
  },
  "hsl": {
    "h": 214.648,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.08107,
    "h": 256.9
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#18365F
secondary
#95703D
accent
#A045E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18365F

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

Preview Lab → · Contrast checker → · Palette generator →

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