#335367#335367

#335367 is a dark, muted cyan. Relative luminance 0.079; OKLCH L 42.6% C 0.050 H 237.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#335367
RGBrgb(51, 83, 103)
HSLhsl(203, 34%, 30%)
HSVhsv(203, 50%, 40%)
CMYKcmyk(50.5%, 19.4%, 0%, 59.6%)
CIE-LABlab(33.71, -5.62, -15.20)
CIE-LCHlch(33.71, 16.21, 249.70°)
OKLaboklab(42.61% -0.0273 -0.0422)
OKLCHoklch(42.61% 0.05 237.1)
XYZxyz(6.9058, 7.8691, 13.9843)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335367 #674733
analogous
#336761 #335367 #333967
triadic
#335367 #673353 #536733
tetradic
#335367 #613367 #674733 #396733
square
#335367 #613367 #674733 #396733
split-complementary
#335367 #673339 #676133
monochromatic
#0A1115 #1F323E #335367 #477490 #6393B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335367#FFFFFF#000000##FFFFFF
##3353671.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)
#4A5268
Deuteranopia (green-blind)
#434D67
Tritanopia (blue-blind)
#1B585A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335367;
/* rgb */ color: rgb(51, 83, 103);
/* oklch */ color: oklch(42.6% 0.050 237.1);
Tailwind
colors: {
  custom: {
    50: '#6e8392',
    500: '#335367',
    950: '#000000',
  },
}
SCSS
$custom: #335367;
$custom-light: #6e8392;
$custom-dark: #000000;
JSON
{
  "hex": "#335367",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 103
  },
  "hsl": {
    "h": 203.077,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.05028,
    "h": 237.1
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#335367
secondary
#98745E
accent
#875ECA
background
#F6F8F8
surface
#ECEFF0
border
#C7CACB
text
#070A0D
muted
#7A7C7D

Preview Lab

Preview with #335367

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

Preview Lab → · Contrast checker → · Palette generator →

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