#335B93#335B93

#335B93 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.0% C 0.102 H 257.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#335B93
RGBrgb(51, 91, 147)
HSLhsl(215, 48%, 39%)
HSVhsv(215, 65%, 58%)
CMYKcmyk(65.3%, 38.1%, 0%, 42.4%)
CIE-LABlab(38.36, 4.61, -35.01)
CIE-LCHlch(38.36, 35.31, 277.50°)
OKLaboklab(46.98% -0.0228 -0.0994)
OKLCHoklch(46.98% 0.102 257.1)
XYZxyz(10.3709, 10.2916, 29.0380)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B93 #936B33
analogous
#338B93 #335B93 #3B3393
triadic
#335B93 #93335B #5B9333
tetradic
#335B93 #93338B #936B33 #33933B
square
#335B93 #93338B #936B33 #33933B
split-complementary
#335B93 #933B33 #8B9333
monochromatic
#132338 #233F66 #335B93 #4577BE #7299CE

Accessibility & contrast

On white

6.87
#335B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#335B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335B93
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B93#FFFFFF#000000##FFFFFF
##335B931.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F95
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335b93;
/* rgb */ color: rgb(51, 91, 147);
/* oklch */ color: oklch(47.0% 0.102 257.1);
Tailwind
colors: {
  custom: {
    50: '#7589b3',
    500: '#335b93',
    950: '#000000',
  },
}
SCSS
$custom: #335b93;
$custom-light: #7589b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335b93",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 147
  },
  "hsl": {
    "h": 215,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.10199,
    "h": 257.1
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#335B93
secondary
#B6976C
accent
#9F50D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335B93

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

Preview Lab → · Contrast checker → · Palette generator →

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