#335193#335193

#335193 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.114 H 264.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#335193
RGBrgb(51, 81, 147)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 58%)
CMYKcmyk(65.3%, 44.9%, 0%, 42.4%)
CIE-LABlab(35.39, 11.12, -39.74)
CIE-LCHlch(35.39, 41.27, 285.64°)
OKLaboklab(44.68% -0.012 -0.1134)
OKLCHoklch(44.68% 0.114 264)
XYZxyz(9.5723, 8.6944, 28.7718)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335193 #937533
analogous
#338193 #335193 #453393
triadic
#335193 #933351 #519333
tetradic
#335193 #933381 #937533 #339345
square
#335193 #933381 #937533 #339345
split-complementary
#335193 #934533 #819333
monochromatic
#131F38 #233866 #335193 #456BBE #728FCE

Accessibility & contrast

On white

7.67
#335193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#335193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335193
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335193#FFFFFF#000000##FFFFFF
##3351931.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335193;
/* rgb */ color: rgb(51, 81, 147);
/* oklch */ color: oklch(44.7% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#7581b3',
    500: '#335193',
    950: '#000000',
  },
}
SCSS
$custom: #335193;
$custom-light: #7581b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335193",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 147
  },
  "hsl": {
    "h": 221.25,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44676,
    "c": 0.11405,
    "h": 264
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#335193
secondary
#B69F6C
accent
#AD50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335193

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

Preview Lab → · Contrast checker → · Palette generator →

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