#335E6F#335E6F

#335E6F is a mid, muted cyan. Relative luminance 0.099; OKLCH L 45.8% C 0.055 H 225.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#335E6F
RGBrgb(51, 94, 111)
HSLhsl(197, 37%, 32%)
HSVhsv(197, 54%, 44%)
CMYKcmyk(54.1%, 15.3%, 0%, 56.5%)
CIE-LABlab(37.58, -9.70, -14.25)
CIE-LCHlch(37.58, 17.24, 235.75°)
OKLaboklab(45.8% -0.0385 -0.0395)
OKLCHoklch(45.8% 0.055 225.7)
XYZxyz(8.2361, 9.8562, 16.5043)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E6F #6F4433
analogous
#336F62 #335E6F #33406F
triadic
#335E6F #6F335E #5E6F33
tetradic
#335E6F #62336F #6F4433 #406F33
square
#335E6F #62336F #6F4433 #406F33
split-complementary
#335E6F #6F3340 #6F6233
monochromatic
#0C171B #203A45 #335E6F #468299 #64A0B8

Accessibility & contrast

On white

7.07
#335E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#335E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E6F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E6F#FFFFFF#000000##FFFFFF
##335E6F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C70
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#0E6363
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335e6f;
/* rgb */ color: rgb(51, 94, 111);
/* oklch */ color: oklch(45.8% 0.055 225.7);
Tailwind
colors: {
  custom: {
    50: '#6f8b98',
    500: '#335e6f',
    950: '#000000',
  },
}
SCSS
$custom: #335e6f;
$custom-light: #6f8b98;
$custom-dark: #000000;
JSON
{
  "hex": "#335e6f",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 111
  },
  "hsl": {
    "h": 197,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.458,
    "c": 0.0552,
    "h": 225.7
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#335E6F
secondary
#A0715E
accent
#7B5BCD
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0D
muted
#7B7D7E

Preview Lab

Preview with #335E6F

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

Preview Lab → · Contrast checker → · Palette generator →

#335E6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva