#335C81#335C81

#335C81 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.076 H 247.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#335C81
RGBrgb(51, 92, 129)
HSLhsl(208, 43%, 35%)
HSVhsv(208, 60%, 51%)
CMYKcmyk(60.5%, 28.7%, 0%, 49.4%)
CIE-LABlab(37.74, -2.45, -25.06)
CIE-LCHlch(37.74, 25.18, 264.42°)
OKLaboklab(46.18% -0.0292 -0.0705)
OKLCHoklch(46.18% 0.076 247.5)
XYZxyz(9.1534, 9.9423, 22.2013)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C81 #815833
analogous
#33817F #335C81 #333581
triadic
#335C81 #81335C #5C8133
tetradic
#335C81 #7F3381 #815833 #358133
square
#335C81 #7F3381 #815833 #358133
split-complementary
#335C81 #813335 #817F33
monochromatic
#101D29 #223D55 #335C81 #447BAD #6A9AC4

Accessibility & contrast

On white

7.03
#335C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#335C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C81
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C81#FFFFFF#000000##FFFFFF
##335C811.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D83
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335c81;
/* rgb */ color: rgb(51, 92, 129);
/* oklch */ color: oklch(46.2% 0.076 247.5);
Tailwind
colors: {
  custom: {
    50: '#728aa5',
    500: '#335c81',
    950: '#000000',
  },
}
SCSS
$custom: #335c81;
$custom-light: #728aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#335c81",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 129
  },
  "hsl": {
    "h": 208.462,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.07628,
    "h": 247.5
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#335C81
secondary
#AC8664
accent
#9155D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335C81

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

Preview Lab → · Contrast checker → · Palette generator →

#335C81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva