#335D8B#335D8B

#335D8B is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.089 H 252.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#335D8B
RGBrgb(51, 93, 139)
HSLhsl(211, 46%, 37%)
HSVhsv(211, 63%, 55%)
CMYKcmyk(63.3%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.54, 0.45, -29.89)
CIE-LCHlch(38.54, 29.89, 270.87°)
OKLaboklab(46.98% -0.0272 -0.0844)
OKLCHoklch(46.98% 0.089 252.1)
XYZxyz(9.9381, 10.3957, 25.9039)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D8B #8B6133
analogous
#33898B #335D8B #35338B
triadic
#335D8B #8B335D #5D8B33
tetradic
#335D8B #8B3389 #8B6133 #338B35
square
#335D8B #8B3389 #8B6133 #338B35
split-complementary
#335D8B #8B3533 #898B33
monochromatic
#122131 #233F5E #335D8B #437BB8 #6E9ACA

Accessibility & contrast

On white

6.82
#335D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#335D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D8B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D8B#FFFFFF#000000##FFFFFF
##335D8B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335d8b;
/* rgb */ color: rgb(51, 93, 139);
/* oklch */ color: oklch(47.0% 0.089 252.1);
Tailwind
colors: {
  custom: {
    50: '#738aad',
    500: '#335d8b',
    950: '#000000',
  },
}
SCSS
$custom: #335d8b;
$custom-light: #738aad;
$custom-dark: #000000;
JSON
{
  "hex": "#335d8b",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 211.364,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.08872,
    "h": 252.1
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#335D8B
secondary
#B28F68
accent
#9752D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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