#335394#335394

#335394 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.113 H 262.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#335394
RGBrgb(51, 83, 148)
HSLhsl(220, 49%, 39%)
HSVhsv(220, 66%, 58%)
CMYKcmyk(65.5%, 43.9%, 0%, 42%)
CIE-LABlab(36.04, 10.18, -39.31)
CIE-LCHlch(36.04, 40.61, 284.51°)
OKLaboklab(45.19% -0.0139 -0.1121)
OKLCHoklch(45.19% 0.113 262.9)
XYZxyz(9.8019, 9.0275, 29.2372)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335394 #947433
analogous
#338494 #335394 #443394
triadic
#335394 #943353 #539433
tetradic
#335394 #943384 #947433 #339444
square
#335394 #943384 #947433 #339444
split-complementary
#335394 #944433 #849433
monochromatic
#142039 #233966 #335394 #456DBF #7391CF

Accessibility & contrast

On white

7.49
#335394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#335394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335394
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335394#FFFFFF#000000##FFFFFF
##3353941.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A97
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335394;
/* rgb */ color: rgb(51, 83, 148);
/* oklch */ color: oklch(45.2% 0.113 262.9);
Tailwind
colors: {
  custom: {
    50: '#7582b4',
    500: '#335394',
    950: '#000000',
  },
}
SCSS
$custom: #335394;
$custom-light: #7582b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335394",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 220.206,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.11299,
    "h": 262.9
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#335394
secondary
#B79E6C
accent
#AB4FD8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335394

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

Preview Lab → · Contrast checker → · Palette generator →

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