#335376#335376

#335376 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.070 H 251.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#335376
RGBrgb(51, 83, 118)
HSLhsl(211, 40%, 33%)
HSVhsv(211, 57%, 46%)
CMYKcmyk(56.8%, 29.7%, 0%, 53.7%)
CIE-LABlab(34.39, -0.60, -23.51)
CIE-LCHlch(34.39, 23.52, 268.54°)
OKLaboklab(43.38% -0.0218 -0.066)
OKLCHoklch(43.38% 0.07 251.7)
XYZxyz(7.7274, 8.1977, 18.3111)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335376 #765633
analogous
#337476 #335376 #343376
triadic
#335376 #763353 #537633
tetradic
#335376 #763374 #765633 #337634
square
#335376 #763374 #765633 #337634
split-complementary
#335376 #763433 #747633
monochromatic
#0E1721 #21354B #335376 #4571A1 #6690BD

Accessibility & contrast

On white

7.96
#335376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#335376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335376
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335376#FFFFFF#000000##FFFFFF
##3353761.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455578
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#085B5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335376;
/* rgb */ color: rgb(51, 83, 118);
/* oklch */ color: oklch(43.4% 0.070 251.7);
Tailwind
colors: {
  custom: {
    50: '#70839d',
    500: '#335376',
    950: '#000000',
  },
}
SCSS
$custom: #335376;
$custom-light: #70839d;
$custom-dark: #000000;
JSON
{
  "hex": "#335376",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 118
  },
  "hsl": {
    "h": 211.343,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.06955,
    "h": 251.7
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#335376
secondary
#A58460
accent
#9758D0
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335376

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

Preview Lab → · Contrast checker → · Palette generator →

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