#335484#335484

#335484 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.088 H 257.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#335484
RGBrgb(51, 84, 132)
HSLhsl(216, 44%, 36%)
HSVhsv(216, 61%, 52%)
CMYKcmyk(61.4%, 36.4%, 0%, 48.2%)
CIE-LABlab(35.42, 3.69, -30.54)
CIE-LCHlch(35.42, 30.76, 276.90°)
OKLaboklab(44.42% -0.0188 -0.0864)
OKLCHoklch(44.42% 0.088 257.7)
XYZxyz(8.6990, 8.7096, 23.0480)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335484 #846333
analogous
#337C84 #335484 #3B3384
triadic
#335484 #843354 #548433
tetradic
#335484 #84337C #846333 #33843B
square
#335484 #84337C #846333 #33843B
split-complementary
#335484 #843B33 #7C8433
monochromatic
#111C2C #223858 #335484 #4470B0 #6B90C6

Accessibility & contrast

On white

7.66
#335484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#335484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335484
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335484#FFFFFF#000000##FFFFFF
##3354841.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405786
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335484;
/* rgb */ color: rgb(51, 84, 132);
/* oklch */ color: oklch(44.4% 0.088 257.7);
Tailwind
colors: {
  custom: {
    50: '#7283a8',
    500: '#335484',
    950: '#000000',
  },
}
SCSS
$custom: #335484;
$custom-light: #7283a8;
$custom-dark: #000000;
JSON
{
  "hex": "#335484",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 215.556,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.08846,
    "h": 257.7
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#335484
secondary
#AE9065
accent
#A054D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335484

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

Preview Lab → · Contrast checker → · Palette generator →

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