#335E7A#335E7A

#335E7A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.066 H 239.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#335E7A
RGBrgb(51, 94, 122)
HSLhsl(204, 41%, 34%)
HSVhsv(204, 58%, 48%)
CMYKcmyk(58.2%, 23%, 0%, 52.2%)
CIE-LABlab(38.05, -6.08, -20.30)
CIE-LCHlch(38.05, 21.19, 253.33°)
OKLaboklab(46.32% -0.0342 -0.0567)
OKLCHoklch(46.32% 0.066 239)
XYZxyz(8.8795, 10.1136, 19.8928)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E7A #7A4F33
analogous
#337A73 #335E7A #333B7A
triadic
#335E7A #7A335E #5E7A33
tetradic
#335E7A #73337A #7A4F33 #3B7A33
square
#335E7A #73337A #7A4F33 #3B7A33
split-complementary
#335E7A #7A333B #7A7333
monochromatic
#0F1B24 #213D4F #335E7A #457FA5 #689DC0

Accessibility & contrast

On white

6.95
#335E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#335E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E7A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E7A#FFFFFF#000000##FFFFFF
##335E7A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7B
Deuteranopia (green-blind)
#48567A
Tritanopia (blue-blind)
#006567
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335e7a;
/* rgb */ color: rgb(51, 94, 122);
/* oklch */ color: oklch(46.3% 0.066 239.0);
Tailwind
colors: {
  custom: {
    50: '#718ba0',
    500: '#335e7a',
    950: '#000000',
  },
}
SCSS
$custom: #335e7a;
$custom-light: #718ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#335e7a",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 122
  },
  "hsl": {
    "h": 203.662,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.06623,
    "h": 239
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#335E7A
secondary
#A87D61
accent
#8757D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #335E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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