#335485#335485

#335485 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.090 H 258.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335485
RGBrgb(51, 84, 133)
HSLhsl(216, 45%, 36%)
HSVhsv(216, 62%, 52%)
CMYKcmyk(61.7%, 36.8%, 0%, 47.8%)
CIE-LABlab(35.47, 4.05, -31.07)
CIE-LCHlch(35.47, 31.33, 277.43°)
OKLaboklab(44.48% -0.0185 -0.088)
OKLCHoklch(44.48% 0.09 258.1)
XYZxyz(8.7677, 8.7371, 23.4101)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335485 #856433
analogous
#337D85 #335485 #3B3385
triadic
#335485 #853354 #548533
tetradic
#335485 #85337D #856433 #33853B
square
#335485 #85337D #856433 #33853B
split-complementary
#335485 #853B33 #7D8533
monochromatic
#111C2D #223859 #335485 #4470B1 #6C90C7

Accessibility & contrast

On white

7.64
#335485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335485
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335485#FFFFFF#000000##FFFFFF
##3354851.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5887
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335485;
/* rgb */ color: rgb(51, 84, 133);
/* oklch */ color: oklch(44.5% 0.090 258.1);
Tailwind
colors: {
  custom: {
    50: '#7283a9',
    500: '#335485',
    950: '#000000',
  },
}
SCSS
$custom: #335485;
$custom-light: #7283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335485",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 133
  },
  "hsl": {
    "h": 215.854,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.08991,
    "h": 258.1
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#335485
secondary
#AE9165
accent
#A054D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #335485

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

Preview Lab → · Contrast checker → · Palette generator →

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