#335A93#335A93

#335A93 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.7% C 0.103 H 257.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#335A93
RGBrgb(51, 90, 147)
HSLhsl(216, 48%, 39%)
HSVhsv(216, 65%, 58%)
CMYKcmyk(65.3%, 38.8%, 0%, 42.4%)
CIE-LABlab(38.06, 5.25, -35.49)
CIE-LCHlch(38.06, 35.87, 278.42°)
OKLaboklab(46.74% -0.0217 -0.1008)
OKLCHoklch(46.74% 0.103 257.9)
XYZxyz(10.2860, 10.1217, 29.0097)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A93 #936C33
analogous
#338A93 #335A93 #3C3393
triadic
#335A93 #93335A #5A9333
tetradic
#335A93 #93338A #936C33 #33933C
square
#335A93 #93338A #936C33 #33933C
split-complementary
#335A93 #933C33 #8A9333
monochromatic
#132238 #233E66 #335A93 #4576BE #7298CE

Accessibility & contrast

On white

6.94
#335A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#335A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335A93
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A93#FFFFFF#000000##FFFFFF
##335A931.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E95
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335a93;
/* rgb */ color: rgb(51, 90, 147);
/* oklch */ color: oklch(46.7% 0.103 257.9);
Tailwind
colors: {
  custom: {
    50: '#7588b3',
    500: '#335a93',
    950: '#000000',
  },
}
SCSS
$custom: #335a93;
$custom-light: #7588b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335a93",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 147
  },
  "hsl": {
    "h": 215.625,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.10313,
    "h": 257.9
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#335A93
secondary
#B6986C
accent
#A150D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335A93

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

Preview Lab → · Contrast checker → · Palette generator →

#335A93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva