#335489#335489

#335489 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.7% C 0.096 H 259.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#335489
RGBrgb(51, 84, 137)
HSLhsl(217, 46%, 37%)
HSVhsv(217, 63%, 54%)
CMYKcmyk(62.8%, 38.7%, 0%, 46.3%)
CIE-LABlab(35.69, 5.50, -33.17)
CIE-LCHlch(35.69, 33.62, 279.41°)
OKLaboklab(44.72% -0.0175 -0.0941)
OKLCHoklch(44.72% 0.096 259.5)
XYZxyz(9.0493, 8.8498, 24.8934)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335489 #896833
analogous
#337F89 #335489 #3D3389
triadic
#335489 #893354 #548933
tetradic
#335489 #89337F #896833 #33893D
square
#335489 #89337F #896833 #33893D
split-complementary
#335489 #893D33 #7F8933
monochromatic
#121D30 #22395C #335489 #446FB6 #6E91C9

Accessibility & contrast

On white

7.58
#335489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#335489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335489
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335489#FFFFFF#000000##FFFFFF
##3354891.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335489;
/* rgb */ color: rgb(51, 84, 137);
/* oklch */ color: oklch(44.7% 0.096 259.5);
Tailwind
colors: {
  custom: {
    50: '#7383ac',
    500: '#335489',
    950: '#000000',
  },
}
SCSS
$custom: #335489;
$custom-light: #7383ac;
$custom-dark: #000000;
JSON
{
  "hex": "#335489",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 216.977,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.09572,
    "h": 259.5
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335489

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

Preview Lab → · Contrast checker → · Palette generator →

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