#18314D#18314D

#18314D is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.060 H 252.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#18314D
RGBrgb(24, 49, 77)
HSLhsl(212, 52%, 20%)
HSVhsv(212, 69%, 30%)
CMYKcmyk(68.8%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.75, 0.60, -20.12)
CIE-LCHlch(19.75, 20.13, 271.71°)
OKLaboklab(30.8% -0.0178 -0.0569)
OKLCHoklch(30.8% 0.06 252.7)
XYZxyz(2.8141, 2.9264, 7.4363)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18314D #4D3418
analogous
#184C4D #18314D #1A184D
triadic
#18314D #4D1831 #314D18
tetradic
#18314D #4D184C #4D3418 #184D1A
square
#18314D #4D184C #4D3418 #184D1A
split-complementary
#18314D #4D1A18 #4C4D18
monochromatic
#070F17 #09131E #18314D #274F7C #356CAA

Accessibility & contrast

On white

13.25
#18314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#18314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18314D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18314D#FFFFFF#000000##FFFFFF
##18314D1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334E
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18314d;
/* rgb */ color: rgb(24, 49, 77);
/* oklch */ color: oklch(30.8% 0.060 252.7);
Tailwind
colors: {
  custom: {
    50: '#5b687f',
    500: '#18314d',
    950: '#000000',
  },
}
SCSS
$custom: #18314d;
$custom-light: #5b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#18314d",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 211.698,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.05961,
    "h": 252.7
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#18314D
secondary
#84623D
accent
#984CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18314D

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

Preview Lab → · Contrast checker → · Palette generator →

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