#335392#335392

#335392 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.110 H 262.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#335392
RGBrgb(51, 83, 146)
HSLhsl(220, 48%, 39%)
HSVhsv(220, 65%, 57%)
CMYKcmyk(65.1%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.92, 9.44, -38.29)
CIE-LCHlch(35.92, 39.44, 283.85°)
OKLaboklab(45.06% -0.0143 -0.1091)
OKLCHoklch(45.06% 0.11 262.5)
XYZxyz(9.6450, 8.9648, 28.4106)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335392 #927233
analogous
#338292 #335392 #423392
triadic
#335392 #923353 #539233
tetradic
#335392 #923382 #927233 #339242
square
#335392 #923382 #927233 #339242
split-complementary
#335392 #924233 #829233
monochromatic
#131F37 #233965 #335392 #446DBE #7291CE

Accessibility & contrast

On white

7.52
#335392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#335392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335392
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335392#FFFFFF#000000##FFFFFF
##3353921.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#285091
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335392;
/* rgb */ color: rgb(51, 83, 146);
/* oklch */ color: oklch(45.1% 0.110 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482b2',
    500: '#335392',
    950: '#000000',
  },
}
SCSS
$custom: #335392;
$custom-light: #7482b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335392",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 219.789,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.11008,
    "h": 262.5
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#335392
secondary
#B69D6B
accent
#AA50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335392

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

Preview Lab → · Contrast checker → · Palette generator →

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