#335482#335482

#335482 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.086 H 256.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#335482
RGBrgb(51, 84, 130)
HSLhsl(215, 44%, 35%)
HSVhsv(215, 61%, 51%)
CMYKcmyk(60.8%, 35.4%, 0%, 49%)
CIE-LABlab(35.31, 2.98, -29.48)
CIE-LCHlch(35.31, 29.63, 275.77°)
OKLaboklab(44.3% -0.0194 -0.0833)
OKLCHoklch(44.3% 0.086 256.9)
XYZxyz(8.5634, 8.6554, 22.3342)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335482 #826133
analogous
#337B82 #335482 #3A3382
triadic
#335482 #823354 #548233
tetradic
#335482 #82337B #826133 #33823A
square
#335482 #82337B #826133 #33823A
split-complementary
#335482 #823A33 #7B8233
monochromatic
#111B2A #223856 #335482 #4470AE #6B90C5

Accessibility & contrast

On white

7.69
#335482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#335482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335482
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335482#FFFFFF#000000##FFFFFF
##3354821.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335482;
/* rgb */ color: rgb(51, 84, 130);
/* oklch */ color: oklch(44.3% 0.086 256.9);
Tailwind
colors: {
  custom: {
    50: '#7283a6',
    500: '#335482',
    950: '#000000',
  },
}
SCSS
$custom: #335482;
$custom-light: #7283a6;
$custom-dark: #000000;
JSON
{
  "hex": "#335482",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 214.937,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.08557,
    "h": 256.9
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#335482
secondary
#AD8E64
accent
#9E54D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335482

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

Preview Lab → · Contrast checker → · Palette generator →

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