#18334D#18334D

#18334D is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.057 H 249.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#18334D
RGBrgb(24, 51, 77)
HSLhsl(209, 52%, 20%)
HSVhsv(209, 69%, 30%)
CMYKcmyk(68.8%, 33.8%, 0%, 69.8%)
CIE-LABlab(20.43, -0.79, -19.05)
CIE-LCHlch(20.43, 19.06, 267.62°)
OKLaboklab(31.34% -0.0203 -0.0537)
OKLCHoklch(31.34% 0.057 249.3)
XYZxyz(2.8996, 3.0974, 7.4648)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334D #4D3218
analogous
#184D4D #18334D #18194D
triadic
#18334D #4D1833 #334D18
tetradic
#18334D #4D184D #4D3218 #194D18
square
#18334D #4D184D #4D3218 #194D18
split-complementary
#18334D #4D1819 #4D4D18
monochromatic
#070F17 #09141E #18334D #27527C #3571AA

Accessibility & contrast

On white

12.97
#18334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#18334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18334D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334D#FFFFFF#000000##FFFFFF
##18334D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344E
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18334d;
/* rgb */ color: rgb(24, 51, 77);
/* oklch */ color: oklch(31.3% 0.057 249.3);
Tailwind
colors: {
  custom: {
    50: '#5b6a7f',
    500: '#18334d',
    950: '#000000',
  },
}
SCSS
$custom: #18334d;
$custom-light: #5b6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#18334d",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 209.434,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.05745,
    "h": 249.3
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#18334D
secondary
#84603D
accent
#934CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18334D

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

Preview Lab → · Contrast checker → · Palette generator →

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