#335E7E#335E7E

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

Color values

HEX#335E7E
RGBrgb(51, 94, 126)
HSLhsl(206, 42%, 35%)
HSVhsv(206, 60%, 49%)
CMYKcmyk(59.5%, 25.4%, 0%, 50.6%)
CIE-LABlab(38.23, -4.72, -22.47)
CIE-LCHlch(38.23, 22.96, 258.14°)
OKLaboklab(46.52% -0.0327 -0.063)
OKLCHoklch(46.52% 0.071 242.6)
XYZxyz(9.1325, 10.2148, 21.2250)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E7E #7E5333
analogous
#337E79 #335E7E #33397E
triadic
#335E7E #7E335E #5E7E33
tetradic
#335E7E #79337E #7E5333 #397E33
square
#335E7E #79337E #7E5333 #397E33
split-complementary
#335E7E #7E3339 #7E7933
monochromatic
#101D27 #213D52 #335E7E #457FAA #699CC2

Accessibility & contrast

On white

6.90
#335E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335E7E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E7E#FFFFFF#000000##FFFFFF
##335E7E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335e7e;
/* rgb */ color: rgb(51, 94, 126);
/* oklch */ color: oklch(46.5% 0.071 242.6);
Tailwind
colors: {
  custom: {
    50: '#718ba3',
    500: '#335e7e',
    950: '#000000',
  },
}
SCSS
$custom: #335e7e;
$custom-light: #718ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#335e7e",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 205.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.07095,
    "h": 242.6
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#335E7E
secondary
#AA8163
accent
#8B56D2
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #335E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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