#335474#335474

#335474 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.066 H 248.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#335474
RGBrgb(51, 84, 116)
HSLhsl(210, 39%, 33%)
HSVhsv(210, 56%, 45%)
CMYKcmyk(56%, 27.6%, 0%, 54.5%)
CIE-LABlab(34.61, -1.92, -21.93)
CIE-LCHlch(34.61, 22.01, 264.99°)
OKLaboklab(43.52% -0.0238 -0.0615)
OKLCHoklch(43.52% 0.066 248.8)
XYZxyz(7.6868, 8.3048, 17.7175)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335474 #745333
analogous
#337473 #335474 #333474
triadic
#335474 #743354 #547433
tetradic
#335474 #733374 #745333 #347433
square
#335474 #733374 #745333 #347433
split-complementary
#335474 #743334 #747333
monochromatic
#0E161F #203549 #335474 #46739F #6691BC

Accessibility & contrast

On white

7.89
#335474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#335474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335474
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335474#FFFFFF#000000##FFFFFF
##3354741.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475575
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#0C5B5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335474;
/* rgb */ color: rgb(51, 84, 116);
/* oklch */ color: oklch(43.5% 0.066 248.8);
Tailwind
colors: {
  custom: {
    50: '#70849c',
    500: '#335474',
    950: '#000000',
  },
}
SCSS
$custom: #335474;
$custom-light: #70849c;
$custom-dark: #000000;
JSON
{
  "hex": "#335474",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 209.538,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.0659,
    "h": 248.8
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#335474
secondary
#A4815F
accent
#9359CF
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335474

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

Preview Lab → · Contrast checker → · Palette generator →

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