#335F89#335F89

#335F89 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.084 H 249.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#335F89
RGBrgb(51, 95, 137)
HSLhsl(209, 46%, 37%)
HSVhsv(209, 63%, 54%)
CMYKcmyk(62.8%, 30.7%, 0%, 46.3%)
CIE-LABlab(39.06, -1.51, -27.87)
CIE-LCHlch(39.06, 27.91, 266.90°)
OKLaboklab(47.35% -0.0301 -0.0785)
OKLCHoklch(47.35% 0.084 249)
XYZxyz(9.9712, 10.6934, 25.2006)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F89 #895D33
analogous
#338988 #335F89 #333489
triadic
#335F89 #89335F #5F8933
tetradic
#335F89 #883389 #895D33 #348933
square
#335F89 #883389 #895D33 #348933
split-complementary
#335F89 #893334 #898833
monochromatic
#122130 #22405C #335F89 #447EB6 #6E9CC9

Accessibility & contrast

On white

6.69
#335F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#335F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F89
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F89#FFFFFF#000000##FFFFFF
##335F891.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335f89;
/* rgb */ color: rgb(51, 95, 137);
/* oklch */ color: oklch(47.4% 0.084 249.0);
Tailwind
colors: {
  custom: {
    50: '#738cab',
    500: '#335f89',
    950: '#000000',
  },
}
SCSS
$custom: #335f89;
$custom-light: #738cab;
$custom-dark: #000000;
JSON
{
  "hex": "#335f89",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 209.302,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.08413,
    "h": 249
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#335F89
secondary
#B18B67
accent
#9252D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #335F89

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

Preview Lab → · Contrast checker → · Palette generator →

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