#335589#335589

#335589 is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.095 H 258.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#335589
RGBrgb(51, 85, 137)
HSLhsl(216, 46%, 37%)
HSVhsv(216, 63%, 54%)
CMYKcmyk(62.8%, 38%, 0%, 46.3%)
CIE-LABlab(36.00, 4.85, -32.69)
CIE-LCHlch(36.00, 33.05, 278.43°)
OKLaboklab(44.96% -0.0186 -0.0927)
OKLCHoklch(44.96% 0.095 258.6)
XYZxyz(9.1275, 9.0061, 24.9194)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335589 #896733
analogous
#338089 #335589 #3C3389
triadic
#335589 #893355 #558933
tetradic
#335589 #893380 #896733 #33893C
square
#335589 #893380 #896733 #33893C
split-complementary
#335589 #893C33 #808933
monochromatic
#121E30 #22395C #335589 #4471B6 #6E92C9

Accessibility & contrast

On white

7.50
#335589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#335589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335589
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335589#FFFFFF#000000##FFFFFF
##3355891.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335589;
/* rgb */ color: rgb(51, 85, 137);
/* oklch */ color: oklch(45.0% 0.095 258.6);
Tailwind
colors: {
  custom: {
    50: '#7384ac',
    500: '#335589',
    950: '#000000',
  },
}
SCSS
$custom: #335589;
$custom-light: #7384ac;
$custom-dark: #000000;
JSON
{
  "hex": "#335589",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 137
  },
  "hsl": {
    "h": 216.279,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.09455,
    "h": 258.6
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#335589
secondary
#B19467
accent
#A252D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #335589

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

Preview Lab → · Contrast checker → · Palette generator →

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