#335599#335599

#335599 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.0% C 0.118 H 262.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#335599
RGBrgb(51, 85, 153)
HSLhsl(220, 50%, 40%)
HSVhsv(220, 67%, 60%)
CMYKcmyk(66.7%, 44.4%, 0%, 40%)
CIE-LABlab(36.93, 10.71, -40.90)
CIE-LCHlch(36.93, 42.28, 284.67°)
OKLaboklab(45.98% -0.015 -0.1168)
OKLCHoklch(45.98% 0.118 262.7)
XYZxyz(10.3615, 9.4997, 31.4184)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335599 #997733
analogous
#338899 #335599 #443399
triadic
#335599 #993355 #559933
tetradic
#335599 #993388 #997733 #339944
square
#335599 #993388 #997733 #339944
split-complementary
#335599 #994433 #889933
monochromatic
#14223D #243B6B #335599 #4770C2 #7594D1

Accessibility & contrast

On white

7.24
#335599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#335599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335599
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335599#FFFFFF#000000##FFFFFF
##3355991.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#245398
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335599;
/* rgb */ color: rgb(51, 85, 153);
/* oklch */ color: oklch(46.0% 0.118 262.7);
Tailwind
colors: {
  custom: {
    50: '#7684b7',
    500: '#335599',
    950: '#000000',
  },
}
SCSS
$custom: #335599;
$custom-light: #7684b7;
$custom-dark: #000000;
JSON
{
  "hex": "#335599",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 220,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.11774,
    "h": 262.7
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#335599
secondary
#B9A06E
accent
#AB4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335599

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

Preview Lab → · Contrast checker → · Palette generator →

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