#335993#335993

#335993 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.5% C 0.104 H 258.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#335993
RGBrgb(51, 89, 147)
HSLhsl(216, 48%, 39%)
HSVhsv(216, 65%, 58%)
CMYKcmyk(65.3%, 39.5%, 0%, 42.4%)
CIE-LABlab(37.76, 5.90, -35.96)
CIE-LCHlch(37.76, 36.44, 279.31°)
OKLaboklab(46.51% -0.0206 -0.1022)
OKLCHoklch(46.51% 0.104 258.6)
XYZxyz(10.2022, 9.9542, 28.9818)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335993 #936D33
analogous
#338993 #335993 #3D3393
triadic
#335993 #933359 #599333
tetradic
#335993 #933389 #936D33 #33933D
square
#335993 #933389 #936D33 #33933D
split-complementary
#335993 #933D33 #899333
monochromatic
#132238 #233D66 #335993 #4575BE #7297CE

Accessibility & contrast

On white

7.02
#335993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#335993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335993
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335993#FFFFFF#000000##FFFFFF
##3359931.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E95
Deuteranopia (green-blind)
#325592
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335993;
/* rgb */ color: rgb(51, 89, 147);
/* oklch */ color: oklch(46.5% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#7587b3',
    500: '#335993',
    950: '#000000',
  },
}
SCSS
$custom: #335993;
$custom-light: #7587b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335993",
  "rgb": {
    "r": 51,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 216.25,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.10428,
    "h": 258.6
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#335993
secondary
#B6996C
accent
#A250D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335993

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

Preview Lab → · Contrast checker → · Palette generator →

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