#335E89#335E89

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

Color values

HEX#335E89
RGBrgb(51, 94, 137)
HSLhsl(210, 46%, 37%)
HSVhsv(210, 63%, 54%)
CMYKcmyk(62.8%, 31.4%, 0%, 46.3%)
CIE-LABlab(38.75, -0.88, -28.35)
CIE-LCHlch(38.75, 28.36, 268.21°)
OKLaboklab(47.11% -0.029 -0.08)
OKLCHoklch(47.11% 0.085 250.1)
XYZxyz(9.8817, 10.5144, 25.1708)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E89 #895E33
analogous
#338989 #335E89 #333389
triadic
#335E89 #89335E #5E8933
tetradic
#335E89 #893389 #895E33 #338933
square
#335E89 #893389 #895E33 #338933
split-complementary
#335E89 #893333 #898933
monochromatic
#122130 #223F5C #335E89 #447DB6 #6E9BC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335E89#FFFFFF#000000##FFFFFF
##335E891.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)
#4C608B
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335e89;
/* rgb */ color: rgb(51, 94, 137);
/* oklch */ color: oklch(47.1% 0.085 250.1);
Tailwind
colors: {
  custom: {
    50: '#738bab',
    500: '#335e89',
    950: '#000000',
  },
}
SCSS
$custom: #335e89;
$custom-light: #738bab;
$custom-dark: #000000;
JSON
{
  "hex": "#335e89",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 210,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.08506,
    "h": 250.1
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#335E89
secondary
#B18C67
accent
#9452D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #335E89

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

Preview Lab → · Contrast checker → · Palette generator →

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