#335293#335293

#335293 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.113 H 263.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#335293
RGBrgb(51, 82, 147)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 58%)
CMYKcmyk(65.3%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.68, 10.46, -39.27)
CIE-LCHlch(35.68, 40.64, 284.92°)
OKLaboklab(44.9% -0.013 -0.112)
OKLCHoklch(44.9% 0.113 263.4)
XYZxyz(9.6472, 8.8441, 28.7968)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335293 #937433
analogous
#338293 #335293 #443393
triadic
#335293 #933352 #529333
tetradic
#335293 #933382 #937433 #339344
square
#335293 #933382 #937433 #339344
split-complementary
#335293 #934433 #829333
monochromatic
#131F38 #233966 #335293 #456CBE #7290CE

Accessibility & contrast

On white

7.58
#335293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#335293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335293
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335293#FFFFFF#000000##FFFFFF
##3352931.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335293;
/* rgb */ color: rgb(51, 82, 147);
/* oklch */ color: oklch(44.9% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#7582b3',
    500: '#335293',
    950: '#000000',
  },
}
SCSS
$custom: #335293;
$custom-light: #7582b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335293",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 220.625,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.11279,
    "h": 263.4
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#335293
secondary
#B69E6C
accent
#AC50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335293

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

Preview Lab → · Contrast checker → · Palette generator →

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