#335C93#335C93

#335C93 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.101 H 256.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#335C93
RGBrgb(51, 92, 147)
HSLhsl(214, 48%, 39%)
HSVhsv(214, 65%, 58%)
CMYKcmyk(65.3%, 37.4%, 0%, 42.4%)
CIE-LABlab(38.66, 3.97, -34.53)
CIE-LCHlch(38.66, 34.76, 276.56°)
OKLaboklab(47.21% -0.0238 -0.098)
OKLCHoklch(47.21% 0.101 256.3)
XYZxyz(10.4570, 10.4637, 29.0667)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C93 #936A33
analogous
#338C93 #335C93 #3A3393
triadic
#335C93 #93335C #5C9333
tetradic
#335C93 #93338C #936A33 #33933A
square
#335C93 #93338C #936A33 #33933A
split-complementary
#335C93 #933A33 #8C9333
monochromatic
#132338 #234066 #335C93 #4579BE #7299CE

Accessibility & contrast

On white

6.79
#335C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#335C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335C93
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C93#FFFFFF#000000##FFFFFF
##335C931.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446095
Deuteranopia (green-blind)
#375792
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335c93;
/* rgb */ color: rgb(51, 92, 147);
/* oklch */ color: oklch(47.2% 0.101 256.3);
Tailwind
colors: {
  custom: {
    50: '#7589b3',
    500: '#335c93',
    950: '#000000',
  },
}
SCSS
$custom: #335c93;
$custom-light: #7589b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335c93",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 147
  },
  "hsl": {
    "h": 214.375,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.10087,
    "h": 256.3
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#335C93
secondary
#B6966C
accent
#9E50D8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335C93

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

Preview Lab → · Contrast checker → · Palette generator →

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