#18314C#18314C

#18314C is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.058 H 251.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#18314C
RGBrgb(24, 49, 76)
HSLhsl(211, 52%, 20%)
HSVhsv(211, 68%, 30%)
CMYKcmyk(68.4%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.69, 0.20, -19.54)
CIE-LCHlch(19.69, 19.54, 270.59°)
OKLaboklab(30.74% -0.0181 -0.0552)
OKLCHoklch(30.74% 0.058 251.8)
XYZxyz(2.7790, 2.9124, 7.2518)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18314C #4C3318
analogous
#184B4C #18314C #19184C
triadic
#18314C #4C1831 #314C18
tetradic
#18314C #4C184B #4C3318 #184C19
square
#18314C #4C184B #4C3318 #184C19
split-complementary
#18314C #4C1918 #4B4C18
monochromatic
#070F17 #09131D #18314C #274F7B #356DA9

Accessibility & contrast

On white

13.27
#18314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18314C
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18314C#FFFFFF#000000##FFFFFF
##18314C1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324D
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18314c;
/* rgb */ color: rgb(24, 49, 76);
/* oklch */ color: oklch(30.7% 0.058 251.8);
Tailwind
colors: {
  custom: {
    50: '#5b687e',
    500: '#18314c',
    950: '#000000',
  },
}
SCSS
$custom: #18314c;
$custom-light: #5b687e;
$custom-dark: #000000;
JSON
{
  "hex": "#18314c",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 211.154,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.05809,
    "h": 251.8
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#18314C
secondary
#83613D
accent
#974CDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18314C

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

Preview Lab → · Contrast checker → · Palette generator →

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