#335385#335385

#335385 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.2% C 0.091 H 259.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#335385
RGBrgb(51, 83, 133)
HSLhsl(217, 45%, 36%)
HSVhsv(217, 62%, 52%)
CMYKcmyk(61.7%, 37.6%, 0%, 47.8%)
CIE-LABlab(35.17, 4.70, -31.55)
CIE-LCHlch(35.17, 31.90, 278.47°)
OKLaboklab(44.24% -0.0174 -0.0894)
OKLCHoklch(44.24% 0.091 259)
XYZxyz(8.6906, 8.5830, 23.3845)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335385 #856533
analogous
#337C85 #335385 #3C3385
triadic
#335385 #853353 #538533
tetradic
#335385 #85337C #856533 #33853C
square
#335385 #85337C #856533 #33853C
split-complementary
#335385 #853C33 #7C8533
monochromatic
#111C2D #223759 #335385 #446FB1 #6C8FC7

Accessibility & contrast

On white

7.73
#335385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#335385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335385
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335385#FFFFFF#000000##FFFFFF
##3353851.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5787
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335385;
/* rgb */ color: rgb(51, 83, 133);
/* oklch */ color: oklch(44.2% 0.091 259.0);
Tailwind
colors: {
  custom: {
    50: '#7283a9',
    500: '#335385',
    950: '#000000',
  },
}
SCSS
$custom: #335385;
$custom-light: #7283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#335385",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 133
  },
  "hsl": {
    "h": 216.585,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44239,
    "c": 0.09107,
    "h": 259
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#335385
secondary
#AE9265
accent
#A254D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #335385

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

Preview Lab → · Contrast checker → · Palette generator →

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