#335362#335362

#335362 is a dark, muted cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.045 H 229.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#335362
RGBrgb(51, 83, 98)
HSLhsl(199, 32%, 29%)
HSVhsv(199, 48%, 38%)
CMYKcmyk(48%, 15.3%, 0%, 61.6%)
CIE-LABlab(33.50, -7.22, -12.37)
CIE-LCHlch(33.50, 14.32, 239.75°)
OKLaboklab(42.38% -0.0294 -0.0342)
OKLCHoklch(42.38% 0.045 229.3)
XYZxyz(6.6623, 7.7717, 12.7019)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335362 #624233
analogous
#33625A #335362 #333C62
triadic
#335362 #623353 #536233
tetradic
#335362 #5A3362 #624233 #3C6233
square
#335362 #5A3362 #624233 #3C6233
split-complementary
#335362 #62333C #625A33
monochromatic
#0A1114 #1E313A #335362 #48758A #6295AD

Accessibility & contrast

On white

8.22
#335362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#335362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335362
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335362#FFFFFF#000000##FFFFFF
##3353621.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5263
Deuteranopia (green-blind)
#454C62
Tritanopia (blue-blind)
#1E5758
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335362;
/* rgb */ color: rgb(51, 83, 98);
/* oklch */ color: oklch(42.4% 0.045 229.3);
Tailwind
colors: {
  custom: {
    50: '#6e838e',
    500: '#335362',
    950: '#000000',
  },
}
SCSS
$custom: #335362;
$custom-light: #6e838e;
$custom-dark: #000000;
JSON
{
  "hex": "#335362",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 98
  },
  "hsl": {
    "h": 199.149,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.04511,
    "h": 229.3
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#335362
secondary
#936F5E
accent
#8160C8
background
#F6F8F8
surface
#ECEFF0
border
#C7CACB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335362

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

Preview Lab → · Contrast checker → · Palette generator →

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