#335486#335486

#335486 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.5% C 0.091 H 258.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#335486
RGBrgb(51, 84, 134)
HSLhsl(216, 45%, 36%)
HSVhsv(216, 62%, 53%)
CMYKcmyk(61.9%, 37.3%, 0%, 47.5%)
CIE-LABlab(35.53, 4.41, -31.59)
CIE-LCHlch(35.53, 31.90, 277.95°)
OKLaboklab(44.54% -0.0183 -0.0895)
OKLCHoklch(44.54% 0.091 258.5)
XYZxyz(8.8371, 8.7649, 23.7757)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335486 #866533
analogous
#337E86 #335486 #3C3386
triadic
#335486 #863354 #548633
tetradic
#335486 #86337E #866533 #33863C
square
#335486 #86337E #866533 #33863C
split-complementary
#335486 #863C33 #7E8633
monochromatic
#111C2D #22385A #335486 #4470B2 #6C90C7

Accessibility & contrast

On white

7.63
#335486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335486
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335486#FFFFFF#000000##FFFFFF
##3354861.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335486;
/* rgb */ color: rgb(51, 84, 134);
/* oklch */ color: oklch(44.5% 0.091 258.5);
Tailwind
colors: {
  custom: {
    50: '#7283a9',
    500: '#335486',
    950: '#000000',
  },
}
SCSS
$custom: #335486;
$custom-light: #7283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335486",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 216.145,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.09136,
    "h": 258.5
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#335486
secondary
#AF9266
accent
#A153D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #335486

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

Preview Lab → · Contrast checker → · Palette generator →

#335486 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva