#18334B#18334B

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

Color values

HEX#18334B
RGBrgb(24, 51, 75)
HSLhsl(208, 52%, 19%)
HSVhsv(208, 68%, 29%)
CMYKcmyk(68%, 32%, 0%, 70.6%)
CIE-LABlab(20.32, -1.58, -17.87)
CIE-LCHlch(20.32, 17.94, 264.94°)
OKLaboklab(31.21% -0.021 -0.0503)
OKLCHoklch(31.21% 0.055 247.4)
XYZxyz(2.8300, 3.0696, 7.0986)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334B #4B3018
analogous
#184B4A #18334B #181A4B
triadic
#18334B #4B1833 #334B18
tetradic
#18334B #4A184B #4B3018 #1A4B18
square
#18334B #4A184B #4B3018 #1A4B18
split-complementary
#18334B #4B181A #4B4A18
monochromatic
#071017 #09131D #18334B #275379 #3672A8

Accessibility & contrast

On white

13.01
#18334B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18334B
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334B#FFFFFF#000000##FFFFFF
##18334B1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29344C
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18334b;
/* rgb */ color: rgb(24, 51, 75);
/* oklch */ color: oklch(31.2% 0.055 247.4);
Tailwind
colors: {
  custom: {
    50: '#5b6a7d',
    500: '#18334b',
    950: '#000000',
  },
}
SCSS
$custom: #18334b;
$custom-light: #5b6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18334b",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 208.235,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.05455,
    "h": 247.4
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#18334B
secondary
#825D3D
accent
#904DDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #18334B

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

Preview Lab → · Contrast checker → · Palette generator →

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