#18334A#18334A

#18334A is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.2% C 0.053 H 246.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#18334A
RGBrgb(24, 51, 74)
HSLhsl(208, 51%, 19%)
HSVhsv(208, 68%, 29%)
CMYKcmyk(67.6%, 31.1%, 0%, 71%)
CIE-LABlab(20.27, -1.97, -17.28)
CIE-LCHlch(20.27, 17.40, 263.49°)
OKLaboklab(31.15% -0.0214 -0.0486)
OKLCHoklch(31.15% 0.053 246.3)
XYZxyz(2.7961, 3.0560, 6.9198)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334A #4A2F18
analogous
#184A48 #18334A #181A4A
triadic
#18334A #4A1833 #334A18
tetradic
#18334A #48184A #4A2F18 #1A4A18
square
#18334A #48184A #4A2F18 #1A4A18
split-complementary
#18334A #4A181A #4A4818
monochromatic
#071017 #09131C #18334A #275378 #3673A6

Accessibility & contrast

On white

13.03
#18334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#18334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18334A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334A#FFFFFF#000000##FFFFFF
##18334A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29344B
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18334a;
/* rgb */ color: rgb(24, 51, 74);
/* oklch */ color: oklch(31.2% 0.053 246.3);
Tailwind
colors: {
  custom: {
    50: '#5a6a7c',
    500: '#18334a',
    950: '#000000',
  },
}
SCSS
$custom: #18334a;
$custom-light: #5a6a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#18334a",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 207.6,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.05313,
    "h": 246.3
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#18334A
secondary
#815C3D
accent
#8E4DDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #18334A

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

Preview Lab → · Contrast checker → · Palette generator →

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