#335064#335064

#335064 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.048 H 239.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#335064
RGBrgb(51, 80, 100)
HSLhsl(204, 32%, 30%)
HSVhsv(204, 49%, 39%)
CMYKcmyk(49%, 20%, 0%, 60.8%)
CIE-LABlab(32.61, -4.73, -14.99)
CIE-LCHlch(32.61, 15.72, 252.50°)
OKLaboklab(41.71% -0.0244 -0.0416)
OKLCHoklch(41.71% 0.048 239.6)
XYZxyz(6.5333, 7.3608, 13.1306)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335064 #644733
analogous
#336460 #335064 #333864
triadic
#335064 #643350 #506433
tetradic
#335064 #603364 #644733 #386433
square
#335064 #603364 #644733 #386433
split-complementary
#335064 #643338 #646033
monochromatic
#0A1014 #1E303B #335064 #48708D #6290AF

Accessibility & contrast

On white

8.49
#335064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#335064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335064
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335064#FFFFFF#000000##FFFFFF
##3350641.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475065
Deuteranopia (green-blind)
#414A64
Tritanopia (blue-blind)
#1D5557
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335064;
/* rgb */ color: rgb(51, 80, 100);
/* oklch */ color: oklch(41.7% 0.048 239.6);
Tailwind
colors: {
  custom: {
    50: '#6e8190',
    500: '#335064',
    950: '#000000',
  },
}
SCSS
$custom: #335064;
$custom-light: #6e8190;
$custom-dark: #000000;
JSON
{
  "hex": "#335064",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 100
  },
  "hsl": {
    "h": 204.49,
    "s": 32.45,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.04825,
    "h": 239.6
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#335064
secondary
#95745E
accent
#8A5FC9
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335064

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

Preview Lab → · Contrast checker → · Palette generator →

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