#18395B#18395B

#18395B is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.072 H 251.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#18395B
RGBrgb(24, 57, 91)
HSLhsl(210, 58%, 23%)
HSVhsv(210, 74%, 36%)
CMYKcmyk(73.6%, 37.4%, 0%, 64.3%)
CIE-LABlab(23.26, 0.67, -23.88)
CIE-LCHlch(23.26, 23.89, 271.61°)
OKLaboklab(33.81% -0.0229 -0.0678)
OKLCHoklch(33.81% 0.072 251.3)
XYZxyz(3.7274, 3.8754, 10.4471)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18395B #5B3A18
analogous
#185A5B #18395B #19185B
triadic
#18395B #5B1839 #395B18
tetradic
#18395B #5B185A #5B3A18 #185B19
square
#18395B #5B185A #5B3A18 #185B19
split-complementary
#18395B #5B1918 #5A5B18
monochromatic
#060F18 #0B1B2B #18395B #25578B #3276BC

Accessibility & contrast

On white

11.83
#18395B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18395B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18395B#FFFFFF#000000##FFFFFF
##18395B1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5C
Deuteranopia (green-blind)
#20355A
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18395b;
/* rgb */ color: rgb(24, 57, 91);
/* oklch */ color: oklch(33.8% 0.072 251.3);
Tailwind
colors: {
  custom: {
    50: '#5e6f89',
    500: '#18395b',
    950: '#000000',
  },
}
SCSS
$custom: #18395b;
$custom-light: #5e6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#18395b",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 91
  },
  "hsl": {
    "h": 210.448,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.07152,
    "h": 251.3
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#18395B
secondary
#92683D
accent
#9546E1
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #18395B

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

Preview Lab → · Contrast checker → · Palette generator →

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