#335C96#335C96

#335C96 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.4% C 0.105 H 257.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#335C96
RGBrgb(51, 92, 150)
HSLhsl(215, 49%, 39%)
HSVhsv(215, 66%, 59%)
CMYKcmyk(66%, 38.7%, 0%, 41.2%)
CIE-LABlab(38.83, 5.07, -36.08)
CIE-LCHlch(38.83, 36.43, 277.99°)
OKLaboklab(47.39% -0.0231 -0.1025)
OKLCHoklch(47.39% 0.105 257.3)
XYZxyz(10.6954, 10.5591, 30.3227)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C96 #966D33
analogous
#338E96 #335C96 #3C3396
triadic
#335C96 #96335C #5C9633
tetradic
#335C96 #96338E #966D33 #33963C
square
#335C96 #96338E #966D33 #33963C
split-complementary
#335C96 #963C33 #8E9633
monochromatic
#14243B #234068 #335C96 #4679C0 #749AD0

Accessibility & contrast

On white

6.75
#335C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335C96
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C96#FFFFFF#000000##FFFFFF
##335C961.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335c96;
/* rgb */ color: rgb(51, 92, 150);
/* oklch */ color: oklch(47.4% 0.105 257.3);
Tailwind
colors: {
  custom: {
    50: '#7589b5',
    500: '#335c96',
    950: '#000000',
  },
}
SCSS
$custom: #335c96;
$custom-light: #7589b5;
$custom-dark: #000000;
JSON
{
  "hex": "#335c96",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 150
  },
  "hsl": {
    "h": 215.152,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47393,
    "c": 0.1051,
    "h": 257.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#335C96
secondary
#B8996D
accent
#A04FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335C96

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

Preview Lab → · Contrast checker → · Palette generator →

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