#335992#335992

#335992 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.103 H 258.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#335992
RGBrgb(51, 89, 146)
HSLhsl(216, 48%, 39%)
HSVhsv(216, 65%, 57%)
CMYKcmyk(65.1%, 39%, 0%, 42.7%)
CIE-LABlab(37.70, 5.53, -35.45)
CIE-LCHlch(37.70, 35.88, 278.87°)
OKLaboklab(46.45% -0.0208 -0.1007)
OKLCHoklch(46.45% 0.103 258.3)
XYZxyz(10.1241, 9.9229, 28.5703)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335992 #926C33
analogous
#338892 #335992 #3C3392
triadic
#335992 #923359 #599233
tetradic
#335992 #923388 #926C33 #33923C
square
#335992 #923388 #926C33 #33923C
split-complementary
#335992 #923C33 #889233
monochromatic
#132237 #233D65 #335992 #4475BE #7297CE

Accessibility & contrast

On white

7.04
#335992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#335992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335992
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335992#FFFFFF#000000##FFFFFF
##3359921.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E94
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335992;
/* rgb */ color: rgb(51, 89, 146);
/* oklch */ color: oklch(46.4% 0.103 258.3);
Tailwind
colors: {
  custom: {
    50: '#7487b2',
    500: '#335992',
    950: '#000000',
  },
}
SCSS
$custom: #335992;
$custom-light: #7487b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335992",
  "rgb": {
    "r": 51,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 216,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.10286,
    "h": 258.3
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#335992
secondary
#B6986B
accent
#A150D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335992

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

Preview Lab → · Contrast checker → · Palette generator →

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