#335A89#335A89

#335A89 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.089 H 254.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#335A89
RGBrgb(51, 90, 137)
HSLhsl(213, 46%, 37%)
HSVhsv(213, 63%, 54%)
CMYKcmyk(62.8%, 34.3%, 0%, 46.3%)
CIE-LABlab(37.52, 1.64, -30.28)
CIE-LCHlch(37.52, 30.33, 273.09°)
OKLaboklab(46.14% -0.0244 -0.0856)
OKLCHoklch(46.14% 0.089 254.1)
XYZxyz(9.5351, 9.8214, 25.0553)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A89 #896233
analogous
#338589 #335A89 #373389
triadic
#335A89 #89335A #5A8933
tetradic
#335A89 #893385 #896233 #338937
square
#335A89 #893385 #896233 #338937
split-complementary
#335A89 #893733 #858933
monochromatic
#121F30 #223D5C #335A89 #4477B6 #6E97C9

Accessibility & contrast

On white

7.08
#335A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#335A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A89
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A89#FFFFFF#000000##FFFFFF
##335A891.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8B
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #335a89;
/* rgb */ color: rgb(51, 90, 137);
/* oklch */ color: oklch(46.1% 0.089 254.1);
Tailwind
colors: {
  custom: {
    50: '#7388ab',
    500: '#335a89',
    950: '#000000',
  },
}
SCSS
$custom: #335a89;
$custom-light: #7388ab;
$custom-dark: #000000;
JSON
{
  "hex": "#335a89",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 137
  },
  "hsl": {
    "h": 212.791,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.08903,
    "h": 254.1
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#335A89
secondary
#B18F67
accent
#9A52D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335A89

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

Preview Lab → · Contrast checker → · Palette generator →

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