#335A96#335A96

#335A96 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.9% C 0.107 H 258.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#335A96
RGBrgb(51, 90, 150)
HSLhsl(216, 49%, 39%)
HSVhsv(216, 66%, 59%)
CMYKcmyk(66%, 40%, 0%, 41.2%)
CIE-LABlab(38.23, 6.35, -37.03)
CIE-LCHlch(38.23, 37.57, 279.74°)
OKLaboklab(46.93% -0.0209 -0.1053)
OKLCHoklch(46.93% 0.107 258.8)
XYZxyz(10.5245, 10.2171, 30.2657)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A96 #966F33
analogous
#338C96 #335A96 #3E3396
triadic
#335A96 #96335A #5A9633
tetradic
#335A96 #96338C #966F33 #33963E
square
#335A96 #96338C #966F33 #33963E
split-complementary
#335A96 #963E33 #8C9633
monochromatic
#14233B #233F68 #335A96 #4676C0 #7498D0

Accessibility & contrast

On white

6.90
#335A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#335A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335A96
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A96#FFFFFF#000000##FFFFFF
##335A961.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335a96;
/* rgb */ color: rgb(51, 90, 150);
/* oklch */ color: oklch(46.9% 0.107 258.8);
Tailwind
colors: {
  custom: {
    50: '#7588b5',
    500: '#335a96',
    950: '#000000',
  },
}
SCSS
$custom: #335a96;
$custom-light: #7588b5;
$custom-dark: #000000;
JSON
{
  "hex": "#335a96",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 216.364,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.10739,
    "h": 258.8
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#335A96
secondary
#B89A6D
accent
#A34FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335A96

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

Preview Lab → · Contrast checker → · Palette generator →

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