#335377#335377

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

Color values

HEX#335377
RGBrgb(51, 83, 119)
HSLhsl(212, 40%, 33%)
HSVhsv(212, 57%, 47%)
CMYKcmyk(57.1%, 30.3%, 0%, 53.3%)
CIE-LABlab(34.44, -0.25, -24.06)
CIE-LCHlch(34.44, 24.06, 269.40°)
OKLaboklab(43.43% -0.0215 -0.0676)
OKLCHoklch(43.43% 0.071 252.4)
XYZxyz(7.7871, 8.2216, 18.6258)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335377 #775733
analogous
#337577 #335377 #353377
triadic
#335377 #773353 #537733
tetradic
#335377 #773375 #775733 #337735
square
#335377 #773375 #775733 #337735
split-complementary
#335377 #773533 #757733
monochromatic
#0E1721 #21354C #335377 #4571A2 #6790BE

Accessibility & contrast

On white

7.94
#335377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335377
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335377#FFFFFF#000000##FFFFFF
##3353771.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#065B60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335377;
/* rgb */ color: rgb(51, 83, 119);
/* oklch */ color: oklch(43.4% 0.071 252.4);
Tailwind
colors: {
  custom: {
    50: '#70839e',
    500: '#335377',
    950: '#000000',
  },
}
SCSS
$custom: #335377;
$custom-light: #70839e;
$custom-dark: #000000;
JSON
{
  "hex": "#335377",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 119
  },
  "hsl": {
    "h": 211.765,
    "s": 40,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.07095,
    "h": 252.4
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335377

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

Preview Lab → · Contrast checker → · Palette generator →

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