#335697#335697

#335697 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.1% C 0.114 H 261.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#335697
RGBrgb(51, 86, 151)
HSLhsl(219, 50%, 40%)
HSVhsv(219, 66%, 59%)
CMYKcmyk(66.2%, 43%, 0%, 40.8%)
CIE-LABlab(37.10, 9.32, -39.42)
CIE-LCHlch(37.10, 40.51, 283.30°)
OKLaboklab(46.07% -0.0165 -0.1124)
OKLCHoklch(46.07% 0.114 261.7)
XYZxyz(10.2770, 9.5928, 30.5822)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335697 #977433
analogous
#338897 #335697 #423397
triadic
#335697 #973356 #569733
tetradic
#335697 #973388 #977433 #339742
square
#335697 #973388 #977433 #339742
split-complementary
#335697 #974233 #889733
monochromatic
#14223C #243C69 #335697 #4771C1 #7494D0

Accessibility & contrast

On white

7.19
#335697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#335697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335697
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335697#FFFFFF#000000##FFFFFF
##3356971.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#295396
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335697;
/* rgb */ color: rgb(51, 86, 151);
/* oklch */ color: oklch(46.1% 0.114 261.7);
Tailwind
colors: {
  custom: {
    50: '#7585b6',
    500: '#335697',
    950: '#000000',
  },
}
SCSS
$custom: #335697;
$custom-light: #7585b6;
$custom-dark: #000000;
JSON
{
  "hex": "#335697",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 219,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.11362,
    "h": 261.7
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#335697
secondary
#B89E6D
accent
#A94FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335697

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

Preview Lab → · Contrast checker → · Palette generator →

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