#335176#335176

#335176 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.072 H 254.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#335176
RGBrgb(51, 81, 118)
HSLhsl(213, 40%, 33%)
HSVhsv(213, 57%, 46%)
CMYKcmyk(56.8%, 31.4%, 0%, 53.7%)
CIE-LABlab(33.77, 0.68, -24.49)
CIE-LCHlch(33.77, 24.50, 271.59°)
OKLaboklab(42.89% -0.0193 -0.0689)
OKLCHoklch(42.89% 0.072 254.4)
XYZxyz(7.5765, 7.8961, 18.2609)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335176 #765833
analogous
#337276 #335176 #363376
triadic
#335176 #763351 #517633
tetradic
#335176 #763372 #765833 #337636
square
#335176 #763372 #765833 #337636
split-complementary
#335176 #763633 #727633
monochromatic
#0E1621 #21344B #335176 #456EA1 #668DBD

Accessibility & contrast

On white

8.14
#335176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#335176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335176
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335176#FFFFFF#000000##FFFFFF
##3351761.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#3A4C75
Tritanopia (blue-blind)
#09595E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335176;
/* rgb */ color: rgb(51, 81, 118);
/* oklch */ color: oklch(42.9% 0.072 254.4);
Tailwind
colors: {
  custom: {
    50: '#70819d',
    500: '#335176',
    950: '#000000',
  },
}
SCSS
$custom: #335176;
$custom-light: #70819d;
$custom-dark: #000000;
JSON
{
  "hex": "#335176",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 213.134,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.07152,
    "h": 254.4
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#335176
secondary
#A58660
accent
#9A58D0
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335176

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

Preview Lab → · Contrast checker → · Palette generator →

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