#335C95#335C95

#335C95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.104 H 257.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#335C95
RGBrgb(51, 92, 149)
HSLhsl(215, 49%, 39%)
HSVhsv(215, 66%, 58%)
CMYKcmyk(65.8%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.77, 4.70, -35.56)
CIE-LCHlch(38.77, 35.87, 277.53°)
OKLaboklab(47.33% -0.0233 -0.101)
OKLCHoklch(47.33% 0.104 257)
XYZxyz(10.6153, 10.5270, 29.9004)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C95 #956C33
analogous
#338D95 #335C95 #3B3395
triadic
#335C95 #95335C #5C9533
tetradic
#335C95 #95338D #956C33 #33953B
square
#335C95 #95338D #956C33 #33953B
split-complementary
#335C95 #953B33 #8D9533
monochromatic
#14243A #234067 #335C95 #4679C0 #739ACF

Accessibility & contrast

On white

6.76
#335C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#335C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335C95
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C95#FFFFFF#000000##FFFFFF
##335C951.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335c95;
/* rgb */ color: rgb(51, 92, 149);
/* oklch */ color: oklch(47.3% 0.104 257.0);
Tailwind
colors: {
  custom: {
    50: '#7589b4',
    500: '#335c95',
    950: '#000000',
  },
}
SCSS
$custom: #335c95;
$custom-light: #7589b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335c95",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 214.898,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47332,
    "c": 0.10368,
    "h": 257
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#335C95
secondary
#B7986C
accent
#9F4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335C95

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

Preview Lab → · Contrast checker → · Palette generator →

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