#335175#335175

#335175 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.070 H 253.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#335175
RGBrgb(51, 81, 117)
HSLhsl(213, 39%, 33%)
HSVhsv(213, 56%, 46%)
CMYKcmyk(56.4%, 30.8%, 0%, 54.1%)
CIE-LABlab(33.72, 0.33, -23.95)
CIE-LCHlch(33.72, 23.95, 270.80°)
OKLaboklab(42.83% -0.0196 -0.0673)
OKLCHoklch(42.83% 0.07 253.7)
XYZxyz(7.5174, 7.8724, 17.9496)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335175 #755733
analogous
#337275 #335175 #363375
triadic
#335175 #753351 #517533
tetradic
#335175 #753372 #755733 #337536
square
#335175 #753372 #755733 #337536
split-complementary
#335175 #753633 #727533
monochromatic
#0E1620 #20334A #335175 #466FA0 #668DBC

Accessibility & contrast

On white

8.16
#335175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#335175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335175
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335175#FFFFFF#000000##FFFFFF
##3351751.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425377
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#0B595E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335175;
/* rgb */ color: rgb(51, 81, 117);
/* oklch */ color: oklch(42.8% 0.070 253.7);
Tailwind
colors: {
  custom: {
    50: '#70819d',
    500: '#335175',
    950: '#000000',
  },
}
SCSS
$custom: #335175;
$custom-light: #70819d;
$custom-dark: #000000;
JSON
{
  "hex": "#335175",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 212.727,
    "s": 39.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.0701,
    "h": 253.7
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#335175
secondary
#A4855F
accent
#9959CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #335175

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

Preview Lab → · Contrast checker → · Palette generator →

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