#335E7D#335E7D

#335E7D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.070 H 241.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#335E7D
RGBrgb(51, 94, 125)
HSLhsl(205, 42%, 35%)
HSVhsv(205, 59%, 49%)
CMYKcmyk(59.2%, 24.8%, 0%, 51%)
CIE-LABlab(38.18, -5.06, -21.93)
CIE-LCHlch(38.18, 22.51, 257.01°)
OKLaboklab(46.47% -0.0331 -0.0614)
OKLCHoklch(46.47% 0.07 241.7)
XYZxyz(9.0683, 10.1891, 20.8869)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E7D #7D5233
analogous
#337D77 #335E7D #33397D
triadic
#335E7D #7D335E #5E7D33
tetradic
#335E7D #77337D #7D5233 #397D33
square
#335E7D #77337D #7D5233 #397D33
split-complementary
#335E7D #7D3339 #7D7733
monochromatic
#101D26 #213D52 #335E7D #457FA8 #699CC2

Accessibility & contrast

On white

6.91
#335E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#335E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E7D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E7D#FFFFFF#000000##FFFFFF
##335E7D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#46577C
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335e7d;
/* rgb */ color: rgb(51, 94, 125);
/* oklch */ color: oklch(46.5% 0.070 241.7);
Tailwind
colors: {
  custom: {
    50: '#718ba2',
    500: '#335e7d',
    950: '#000000',
  },
}
SCSS
$custom: #335e7d;
$custom-light: #718ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#335e7d",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 125
  },
  "hsl": {
    "h": 205.135,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.06975,
    "h": 241.7
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#335E7D
secondary
#AA8062
accent
#8A56D2
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #335E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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