#335D96#335D96

#335D96 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.104 H 256.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#335D96
RGBrgb(51, 93, 150)
HSLhsl(215, 49%, 39%)
HSVhsv(215, 66%, 59%)
CMYKcmyk(66%, 38%, 0%, 41.2%)
CIE-LABlab(39.13, 4.43, -35.60)
CIE-LCHlch(39.13, 35.87, 277.09°)
OKLaboklab(47.63% -0.0242 -0.1011)
OKLCHoklch(47.63% 0.104 256.6)
XYZxyz(10.7826, 10.7335, 30.3518)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D96 #966C33
analogous
#338F96 #335D96 #3A3396
triadic
#335D96 #96335D #5D9633
tetradic
#335D96 #96338F #966C33 #33963A
square
#335D96 #96338F #966C33 #33963A
split-complementary
#335D96 #963A33 #8F9633
monochromatic
#14243B #234168 #335D96 #467AC0 #749BD0

Accessibility & contrast

On white

6.67
#335D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#335D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D96
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D96#FFFFFF#000000##FFFFFF
##335D961.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446198
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335d96;
/* rgb */ color: rgb(51, 93, 150);
/* oklch */ color: oklch(47.6% 0.104 256.6);
Tailwind
colors: {
  custom: {
    50: '#758ab5',
    500: '#335d96',
    950: '#000000',
  },
}
SCSS
$custom: #335d96;
$custom-light: #758ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#335d96",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 150
  },
  "hsl": {
    "h": 214.545,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.10397,
    "h": 256.6
  },
  "luminance": 0.10735
}

Semantic roles & 50–950 ramp

primary
#335D96
secondary
#B8986D
accent
#9E4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335D96

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

Preview Lab → · Contrast checker → · Palette generator →

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