#335481#335481

#335481 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.084 H 256.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#335481
RGBrgb(51, 84, 129)
HSLhsl(215, 43%, 35%)
HSVhsv(215, 60%, 51%)
CMYKcmyk(60.5%, 34.9%, 0%, 49.4%)
CIE-LABlab(35.26, 2.62, -28.95)
CIE-LCHlch(35.26, 29.07, 275.17°)
OKLaboklab(44.24% -0.0196 -0.0818)
OKLCHoklch(44.24% 0.084 256.5)
XYZxyz(8.4966, 8.6287, 21.9824)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335481 #816033
analogous
#337B81 #335481 #393381
triadic
#335481 #813354 #548133
tetradic
#335481 #81337B #816033 #338139
square
#335481 #81337B #816033 #338139
split-complementary
#335481 #813933 #7B8133
monochromatic
#101B29 #223755 #335481 #4471AD #6A90C4

Accessibility & contrast

On white

7.70
#335481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335481
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335481#FFFFFF#000000##FFFFFF
##3354811.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#375080
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335481;
/* rgb */ color: rgb(51, 84, 129);
/* oklch */ color: oklch(44.2% 0.084 256.5);
Tailwind
colors: {
  custom: {
    50: '#7283a6',
    500: '#335481',
    950: '#000000',
  },
}
SCSS
$custom: #335481;
$custom-light: #7283a6;
$custom-dark: #000000;
JSON
{
  "hex": "#335481",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 214.615,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.08413,
    "h": 256.5
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#335481
secondary
#AC8D64
accent
#9E55D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335481

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

Preview Lab → · Contrast checker → · Palette generator →

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