#335488#335488

#335488 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.094 H 259.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#335488
RGBrgb(51, 84, 136)
HSLhsl(217, 45%, 37%)
HSVhsv(217, 63%, 53%)
CMYKcmyk(62.5%, 38.2%, 0%, 46.7%)
CIE-LABlab(35.64, 5.13, -32.64)
CIE-LCHlch(35.64, 33.05, 278.94°)
OKLaboklab(44.66% -0.0177 -0.0926)
OKLCHoklch(44.66% 0.094 259.2)
XYZxyz(8.9779, 8.8212, 24.5173)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335488 #886733
analogous
#337F88 #335488 #3D3388
triadic
#335488 #883354 #548833
tetradic
#335488 #88337F #886733 #33883D
square
#335488 #88337F #886733 #33883D
split-complementary
#335488 #883D33 #7F8833
monochromatic
#121D2F #22395B #335488 #446FB5 #6D91C8

Accessibility & contrast

On white

7.60
#335488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#335488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335488
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335488#FFFFFF#000000##FFFFFF
##3354881.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E588A
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335488;
/* rgb */ color: rgb(51, 84, 136);
/* oklch */ color: oklch(44.7% 0.094 259.2);
Tailwind
colors: {
  custom: {
    50: '#7383ab',
    500: '#335488',
    950: '#000000',
  },
}
SCSS
$custom: #335488;
$custom-light: #7383ab;
$custom-dark: #000000;
JSON
{
  "hex": "#335488",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 216.706,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.09426,
    "h": 259.2
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#335488
secondary
#B09467
accent
#A253D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #335488

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

Preview Lab → · Contrast checker → · Palette generator →

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