#335368#335368

#335368 is a dark, muted cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.051 H 238.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#335368
RGBrgb(51, 83, 104)
HSLhsl(204, 34%, 30%)
HSVhsv(204, 51%, 41%)
CMYKcmyk(51%, 20.2%, 0%, 59.2%)
CIE-LABlab(33.75, -5.30, -15.77)
CIE-LCHlch(33.75, 16.63, 251.42°)
OKLaboklab(42.66% -0.0269 -0.0438)
OKLCHoklch(42.66% 0.051 238.4)
XYZxyz(6.9563, 7.8893, 14.2502)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335368 #684833
analogous
#336863 #335368 #333868
triadic
#335368 #683353 #536833
tetradic
#335368 #633368 #684833 #386833
square
#335368 #633368 #684833 #386833
split-complementary
#335368 #683338 #686333
monochromatic
#0B1116 #1F323F #335368 #477491 #6393B2

Accessibility & contrast

On white

8.15
#335368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335368
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335368#FFFFFF#000000##FFFFFF
##3353681.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5369
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#1A585A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335368;
/* rgb */ color: rgb(51, 83, 104);
/* oklch */ color: oklch(42.7% 0.051 238.4);
Tailwind
colors: {
  custom: {
    50: '#6e8393',
    500: '#335368',
    950: '#000000',
  },
}
SCSS
$custom: #335368;
$custom-light: #6e8393;
$custom-dark: #000000;
JSON
{
  "hex": "#335368",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 104
  },
  "hsl": {
    "h": 203.774,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.05142,
    "h": 238.4
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#335368
secondary
#99755E
accent
#895ECA
background
#F6F8F9
surface
#ECEFF1
border
#C7CACB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #335368

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

Preview Lab → · Contrast checker → · Palette generator →

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