#335D89#335D89

#335D89 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.086 H 251.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#335D89
RGBrgb(51, 93, 137)
HSLhsl(211, 46%, 37%)
HSVhsv(211, 63%, 54%)
CMYKcmyk(62.8%, 32.1%, 0%, 46.3%)
CIE-LABlab(38.44, -0.26, -28.83)
CIE-LCHlch(38.44, 28.83, 269.49°)
OKLaboklab(46.87% -0.0278 -0.0814)
OKLCHoklch(46.87% 0.086 251.1)
XYZxyz(9.7933, 10.3377, 25.1413)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D89 #895F33
analogous
#338889 #335D89 #343389
triadic
#335D89 #89335D #5D8933
tetradic
#335D89 #893388 #895F33 #338934
square
#335D89 #893388 #895F33 #338934
split-complementary
#335D89 #893433 #888933
monochromatic
#122030 #223F5C #335D89 #447BB6 #6E9AC9

Accessibility & contrast

On white

6.85
#335D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#335D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D89
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D89#FFFFFF#000000##FFFFFF
##335D891.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335d89;
/* rgb */ color: rgb(51, 93, 137);
/* oklch */ color: oklch(46.9% 0.086 251.1);
Tailwind
colors: {
  custom: {
    50: '#738aab',
    500: '#335d89',
    950: '#000000',
  },
}
SCSS
$custom: #335d89;
$custom-light: #738aab;
$custom-dark: #000000;
JSON
{
  "hex": "#335d89",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 137
  },
  "hsl": {
    "h": 210.698,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.08601,
    "h": 251.1
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#335D89
secondary
#B18D67
accent
#9552D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335D89

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

Preview Lab → · Contrast checker → · Palette generator →

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