#18334C#18334C

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

Color values

HEX#18334C
RGBrgb(24, 51, 76)
HSLhsl(209, 52%, 20%)
HSVhsv(209, 68%, 30%)
CMYKcmyk(68.4%, 32.9%, 0%, 70.2%)
CIE-LABlab(20.37, -1.19, -18.46)
CIE-LCHlch(20.37, 18.50, 266.31°)
OKLaboklab(31.27% -0.0206 -0.052)
OKLCHoklch(31.27% 0.056 248.4)
XYZxyz(2.8645, 3.0834, 7.2803)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334C #4C3118
analogous
#184C4B #18334C #18194C
triadic
#18334C #4C1833 #334C18
tetradic
#18334C #4B184C #4C3118 #194C18
square
#18334C #4B184C #4C3118 #194C18
split-complementary
#18334C #4C1819 #4C4B18
monochromatic
#071017 #09141D #18334C #27527B #3571A9

Accessibility & contrast

On white

12.99
#18334C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18334C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334C#FFFFFF#000000##FFFFFF
##18334C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18334c;
/* rgb */ color: rgb(24, 51, 76);
/* oklch */ color: oklch(31.3% 0.056 248.4);
Tailwind
colors: {
  custom: {
    50: '#5b6a7e',
    500: '#18334c',
    950: '#000000',
  },
}
SCSS
$custom: #18334c;
$custom-light: #5b6a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#18334c",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 208.846,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.05599,
    "h": 248.4
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#18334C
secondary
#835F3D
accent
#914CDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18334C

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

Preview Lab → · Contrast checker → · Palette generator →

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