#335D7E#335D7E

#335D7E is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.072 H 243.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#335D7E
RGBrgb(51, 93, 126)
HSLhsl(206, 42%, 35%)
HSVhsv(206, 60%, 49%)
CMYKcmyk(59.5%, 26.2%, 0%, 50.6%)
CIE-LABlab(37.91, -4.11, -22.96)
CIE-LCHlch(37.91, 23.33, 259.86°)
OKLaboklab(46.27% -0.0315 -0.0644)
OKLCHoklch(46.27% 0.072 243.9)
XYZxyz(9.0441, 10.0381, 21.1955)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D7E #7E5433
analogous
#337E7A #335D7E #33387E
triadic
#335D7E #7E335D #5D7E33
tetradic
#335D7E #7A337E #7E5433 #387E33
square
#335D7E #7A337E #7E5433 #387E33
split-complementary
#335D7E #7E3338 #7E7A33
monochromatic
#101D27 #213D52 #335D7E #457DAA #699BC2

Accessibility & contrast

On white

6.98
#335D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#335D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D7E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D7E#FFFFFF#000000##FFFFFF
##335D7E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D80
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335d7e;
/* rgb */ color: rgb(51, 93, 126);
/* oklch */ color: oklch(46.3% 0.072 243.9);
Tailwind
colors: {
  custom: {
    50: '#718aa3',
    500: '#335d7e',
    950: '#000000',
  },
}
SCSS
$custom: #335d7e;
$custom-light: #718aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#335d7e",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 206.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.07166,
    "h": 243.9
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#335D7E
secondary
#AA8263
accent
#8C56D2
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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