#334652#334652

#334652 is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.032 H 236.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#334652
RGBrgb(51, 70, 82)
HSLhsl(203, 23%, 26%)
HSVhsv(203, 38%, 32%)
CMYKcmyk(37.8%, 14.6%, 0%, 67.8%)
CIE-LABlab(28.62, -4.03, -9.57)
CIE-LCHlch(28.62, 10.39, 247.16°)
OKLaboklab(38.3% -0.0175 -0.0263)
OKLCHoklch(38.3% 0.032 236.4)
XYZxyz(5.0779, 5.6931, 8.8123)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334652 #523F33
analogous
#33524E #334652 #333652
triadic
#334652 #523346 #465233
tetradic
#334652 #4E3352 #523F33 #365233
square
#334652 #4E3352 #523F33 #365233
split-complementary
#334652 #523336 #524E33
monochromatic
#0C1013 #1C262C #334652 #4A6678 #62869D

Accessibility & contrast

On white

9.82
#334652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#334652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334652
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334652#FFFFFF#000000##FFFFFF
##3346521.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414553
Deuteranopia (green-blind)
#3C4252
Tritanopia (blue-blind)
#29494A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334652;
/* rgb */ color: rgb(51, 70, 82);
/* oklch */ color: oklch(38.3% 0.032 236.4);
Tailwind
colors: {
  custom: {
    50: '#6c7982',
    500: '#334652',
    950: '#000000',
  },
}
SCSS
$custom: #334652;
$custom-light: #6c7982;
$custom-dark: #000000;
JSON
{
  "hex": "#334652",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 82
  },
  "hsl": {
    "h": 203.226,
    "s": 23.308,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.03157,
    "h": 236.4
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#334652
secondary
#836C5E
accent
#8A68C0
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#07090A
muted
#7A7B7C

Preview Lab

Preview with #334652

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

Preview Lab → · Contrast checker → · Palette generator →

#334652 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva