#335696#335696

#335696 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.112 H 261.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#335696
RGBrgb(51, 86, 150)
HSLhsl(219, 49%, 39%)
HSVhsv(219, 66%, 59%)
CMYKcmyk(66%, 42.7%, 0%, 41.2%)
CIE-LABlab(37.04, 8.95, -38.92)
CIE-LCHlch(37.04, 39.93, 282.95°)
OKLaboklab(46.01% -0.0167 -0.1109)
OKLCHoklch(46.01% 0.112 261.4)
XYZxyz(10.1961, 9.5604, 30.1563)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335696 #967333
analogous
#338896 #335696 #423396
triadic
#335696 #963356 #569633
tetradic
#335696 #963388 #967333 #339642
square
#335696 #963388 #967333 #339642
split-complementary
#335696 #964233 #889633
monochromatic
#14223B #233C68 #335696 #4671C0 #7494D0

Accessibility & contrast

On white

7.21
#335696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#335696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335696
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335696#FFFFFF#000000##FFFFFF
##3356961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335696;
/* rgb */ color: rgb(51, 86, 150);
/* oklch */ color: oklch(46.0% 0.112 261.4);
Tailwind
colors: {
  custom: {
    50: '#7585b5',
    500: '#335696',
    950: '#000000',
  },
}
SCSS
$custom: #335696;
$custom-light: #7585b5;
$custom-dark: #000000;
JSON
{
  "hex": "#335696",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 218.788,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.11218,
    "h": 261.4
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#335696
secondary
#B89D6D
accent
#A84FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335696

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

Preview Lab → · Contrast checker → · Palette generator →

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