#335261#335261

#335261 is a dark, muted cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.044 H 230.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#335261
RGBrgb(51, 82, 97)
HSLhsl(200, 31%, 29%)
HSVhsv(200, 47%, 38%)
CMYKcmyk(47.4%, 15.5%, 0%, 62%)
CIE-LABlab(33.14, -6.92, -12.30)
CIE-LCHlch(33.14, 14.11, 240.64°)
OKLaboklab(42.08% -0.0284 -0.034)
OKLCHoklch(42.08% 0.044 230.1)
XYZxyz(6.5394, 7.6010, 12.4295)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335261 #614233
analogous
#336159 #335261 #333B61
triadic
#335261 #613352 #526133
tetradic
#335261 #593361 #614233 #3B6133
square
#335261 #593361 #614233 #3B6133
split-complementary
#335261 #61333B #615933
monochromatic
#0B1114 #1E3039 #335261 #487489 #6294AC

Accessibility & contrast

On white

8.33
#335261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#335261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335261
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335261#FFFFFF#000000##FFFFFF
##3352611.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5162
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#1F5657
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335261;
/* rgb */ color: rgb(51, 82, 97);
/* oklch */ color: oklch(42.1% 0.044 230.1);
Tailwind
colors: {
  custom: {
    50: '#6d828e',
    500: '#335261',
    950: '#000000',
  },
}
SCSS
$custom: #335261;
$custom-light: #6d828e;
$custom-dark: #000000;
JSON
{
  "hex": "#335261",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 97
  },
  "hsl": {
    "h": 199.565,
    "s": 31.081,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.04433,
    "h": 230.1
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#335261
secondary
#926F5E
accent
#8261C7
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #335261

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

Preview Lab → · Contrast checker → · Palette generator →

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