#335393#335393

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

Color values

HEX#335393
RGBrgb(51, 83, 147)
HSLhsl(220, 48%, 39%)
HSVhsv(220, 65%, 58%)
CMYKcmyk(65.3%, 43.5%, 0%, 42.4%)
CIE-LABlab(35.98, 9.81, -38.80)
CIE-LCHlch(35.98, 40.02, 284.18°)
OKLaboklab(45.13% -0.0141 -0.1106)
OKLCHoklch(45.13% 0.112 262.7)
XYZxyz(9.7231, 8.9960, 28.8221)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335393 #937333
analogous
#338393 #335393 #433393
triadic
#335393 #933353 #539333
tetradic
#335393 #933383 #937333 #339343
square
#335393 #933383 #937333 #339343
split-complementary
#335393 #934333 #839333
monochromatic
#132038 #233966 #335393 #456DBE #7291CE

Accessibility & contrast

On white

7.50
#335393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#335393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335393
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335393#FFFFFF#000000##FFFFFF
##3353931.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335393;
/* rgb */ color: rgb(51, 83, 147);
/* oklch */ color: oklch(45.1% 0.112 262.7);
Tailwind
colors: {
  custom: {
    50: '#7582b3',
    500: '#335393',
    950: '#000000',
  },
}
SCSS
$custom: #335393;
$custom-light: #7582b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335393",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 147
  },
  "hsl": {
    "h": 220,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.11154,
    "h": 262.7
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#335393
secondary
#B69D6C
accent
#AB50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335393

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

Preview Lab → · Contrast checker → · Palette generator →

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