#335D8F#335D8F

#335D8F is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.094 H 253.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#335D8F
RGBrgb(51, 93, 143)
HSLhsl(213, 47%, 38%)
HSVhsv(213, 64%, 56%)
CMYKcmyk(64.3%, 35%, 0%, 43.9%)
CIE-LABlab(38.75, 1.89, -31.98)
CIE-LCHlch(38.75, 32.04, 273.38°)
OKLaboklab(47.21% -0.026 -0.0905)
OKLCHoklch(47.21% 0.094 253.9)
XYZxyz(10.2357, 10.5147, 27.4714)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D8F #8F6533
analogous
#338B8F #335D8F #37338F
triadic
#335D8F #8F335D #5D8F33
tetradic
#335D8F #8F338B #8F6533 #338F37
square
#335D8F #8F338B #8F6533 #338F37
split-complementary
#335D8F #8F3733 #8B8F33
monochromatic
#132235 #234062 #335D8F #437ABC #709ACC

Accessibility & contrast

On white

6.77
#335D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#335D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D8F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D8F#FFFFFF#000000##FFFFFF
##335D8F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335d8f;
/* rgb */ color: rgb(51, 93, 143);
/* oklch */ color: oklch(47.2% 0.094 253.9);
Tailwind
colors: {
  custom: {
    50: '#748ab0',
    500: '#335d8f',
    950: '#000000',
  },
}
SCSS
$custom: #335d8f;
$custom-light: #748ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#335d8f",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 212.609,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.09421,
    "h": 253.9
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#335D8F
secondary
#B4926A
accent
#9A51D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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