#334751#334751

#334751 is a dark, muted cyan. Relative luminance 0.058; OKLCH L 38.5% C 0.030 H 230.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#334751
RGBrgb(51, 71, 81)
HSLhsl(200, 23%, 26%)
HSVhsv(200, 37%, 32%)
CMYKcmyk(37%, 12.3%, 0%, 68.2%)
CIE-LABlab(28.91, -4.96, -8.49)
CIE-LCHlch(28.91, 9.83, 239.69°)
OKLaboklab(38.52% -0.0194 -0.0233)
OKLCHoklch(38.52% 0.03 230.2)
XYZxyz(5.1032, 5.8041, 8.6344)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334751 #513D33
analogous
#33514C #334751 #333851
triadic
#334751 #513347 #475133
tetradic
#334751 #4C3351 #513D33 #385133
square
#334751 #4C3351 #513D33 #385133
split-complementary
#334751 #513338 #514C33
monochromatic
#0C1013 #1B262B #334751 #4B6877 #62899C

Accessibility & contrast

On white

9.72
#334751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#334751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334751
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334751#FFFFFF#000000##FFFFFF
##3347511.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#3E4351
Tritanopia (blue-blind)
#294A4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334751;
/* rgb */ color: rgb(51, 71, 81);
/* oklch */ color: oklch(38.5% 0.030 230.2);
Tailwind
colors: {
  custom: {
    50: '#6c7a81',
    500: '#334751',
    950: '#000000',
  },
}
SCSS
$custom: #334751;
$custom-light: #6c7a81;
$custom-dark: #000000;
JSON
{
  "hex": "#334751",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 200,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.03032,
    "h": 230.2
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#334751
secondary
#826A5E
accent
#8569BF
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#07090A
muted
#7A7B7C

Preview Lab

Preview with #334751

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

Preview Lab → · Contrast checker → · Palette generator →

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