#335374#335374

#335374 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.067 H 250.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#335374
RGBrgb(51, 83, 116)
HSLhsl(210, 39%, 33%)
HSVhsv(210, 56%, 45%)
CMYKcmyk(56%, 28.4%, 0%, 54.5%)
CIE-LABlab(34.29, -1.29, -22.42)
CIE-LCHlch(34.29, 22.46, 266.71°)
OKLaboklab(43.27% -0.0225 -0.0629)
OKLCHoklch(43.27% 0.067 250.3)
XYZxyz(7.6098, 8.1507, 17.6918)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335374 #745433
analogous
#337374 #335374 #343374
triadic
#335374 #743353 #537433
tetradic
#335374 #743373 #745433 #337434
square
#335374 #743373 #745433 #337434
split-complementary
#335374 #743433 #737433
monochromatic
#0E161F #203549 #335374 #46719F #6690BC

Accessibility & contrast

On white

7.98
#335374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#335374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335374
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335374#FFFFFF#000000##FFFFFF
##3353741.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#0C5B5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335374;
/* rgb */ color: rgb(51, 83, 116);
/* oklch */ color: oklch(43.3% 0.067 250.3);
Tailwind
colors: {
  custom: {
    50: '#70839c',
    500: '#335374',
    950: '#000000',
  },
}
SCSS
$custom: #335374;
$custom-light: #70839c;
$custom-dark: #000000;
JSON
{
  "hex": "#335374",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 116
  },
  "hsl": {
    "h": 210.462,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.06678,
    "h": 250.3
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#335374
secondary
#A4825F
accent
#9559CF
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335374

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

Preview Lab → · Contrast checker → · Palette generator →

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