#18385F#18385F

#18385F is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.8% C 0.079 H 254.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#18385F
RGBrgb(24, 56, 95)
HSLhsl(213, 60%, 23%)
HSVhsv(213, 75%, 37%)
CMYKcmyk(74.7%, 41.1%, 0%, 62.7%)
CIE-LABlab(23.16, 2.99, -26.64)
CIE-LCHlch(23.16, 26.81, 276.41°)
OKLaboklab(33.82% -0.0206 -0.0759)
OKLCHoklch(33.82% 0.079 254.8)
XYZxyz(3.8557, 3.8484, 11.3639)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18385F #5F3F18
analogous
#185B5F #18385F #1B185F
triadic
#18385F #5F1838 #385F18
tetradic
#18385F #5F185B #5F3F18 #185F1B
square
#18385F #5F185B #5F3F18 #185F1B
split-complementary
#18385F #5F1B18 #5B5F18
monochromatic
#060E18 #0C1B2E #18385F #245590 #3172C1

Accessibility & contrast

On white

11.87
#18385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#18385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18385F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18385F#FFFFFF#000000##FFFFFF
##18385F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#1C345E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18385f;
/* rgb */ color: rgb(24, 56, 95);
/* oklch */ color: oklch(33.8% 0.079 254.8);
Tailwind
colors: {
  custom: {
    50: '#5f6e8c',
    500: '#18385f',
    950: '#000000',
  },
}
SCSS
$custom: #18385f;
$custom-light: #5f6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18385f",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 212.958,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.07861,
    "h": 254.8
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#18385F
secondary
#956E3D
accent
#9C45E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #18385F

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

Preview Lab → · Contrast checker → · Palette generator →

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