#18314A#18314A

#18314A is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.6% C 0.055 H 250.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#18314A
RGBrgb(24, 49, 74)
HSLhsl(210, 51%, 19%)
HSVhsv(210, 68%, 29%)
CMYKcmyk(67.6%, 33.8%, 0%, 71%)
CIE-LABlab(19.58, -0.59, -18.36)
CIE-LCHlch(19.58, 18.37, 268.16°)
OKLaboklab(30.61% -0.0188 -0.0518)
OKLCHoklch(30.61% 0.055 250.1)
XYZxyz(2.7106, 2.8850, 6.8912)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18314A #4A3118
analogous
#184A4A #18314A #18184A
triadic
#18314A #4A1831 #314A18
tetradic
#18314A #4A184A #4A3118 #184A18
square
#18314A #4A184A #4A3118 #184A18
split-complementary
#18314A #4A1818 #4A4A18
monochromatic
#070F17 #09121C #18314A #275078 #366EA6

Accessibility & contrast

On white

13.32
#18314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#18314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18314A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18314A#FFFFFF#000000##FFFFFF
##18314A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324B
Deuteranopia (green-blind)
#202D4A
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18314a;
/* rgb */ color: rgb(24, 49, 74);
/* oklch */ color: oklch(30.6% 0.055 250.1);
Tailwind
colors: {
  custom: {
    50: '#5a687c',
    500: '#18314a',
    950: '#000000',
  },
}
SCSS
$custom: #18314a;
$custom-light: #5a687c;
$custom-dark: #000000;
JSON
{
  "hex": "#18314a",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 210,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.05509,
    "h": 250.1
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#18314A
secondary
#815F3D
accent
#944DDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #18314A

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

Preview Lab → · Contrast checker → · Palette generator →

#18314A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva