#336271#336271

#336271 is a mid, muted cyan. Relative luminance 0.106; OKLCH L 46.9% C 0.057 H 220.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#336271
RGBrgb(51, 98, 113)
HSLhsl(195, 38%, 32%)
HSVhsv(195, 55%, 44%)
CMYKcmyk(54.9%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.95, -11.42, -13.40)
CIE-LCHlch(38.95, 17.60, 229.56°)
OKLaboklab(46.92% -0.0428 -0.0371)
OKLCHoklch(46.92% 0.057 220.9)
XYZxyz(8.7124, 10.6307, 17.2124)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336271 #714233
analogous
#337161 #336271 #334371
triadic
#336271 #713362 #627133
tetradic
#336271 #613371 #714233 #437133
square
#336271 #613371 #714233 #437133
split-complementary
#336271 #713343 #716133
monochromatic
#0D191D #203D47 #336271 #46879B #65A5B9

Accessibility & contrast

On white

6.72
#336271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#336271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336271
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336271#FFFFFF#000000##FFFFFF
##3362711.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#096767
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336271;
/* rgb */ color: rgb(51, 98, 113);
/* oklch */ color: oklch(46.9% 0.057 220.9);
Tailwind
colors: {
  custom: {
    50: '#708e99',
    500: '#336271',
    950: '#000000',
  },
}
SCSS
$custom: #336271;
$custom-light: #708e99;
$custom-dark: #000000;
JSON
{
  "hex": "#336271",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 194.516,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46917,
    "c": 0.05664,
    "h": 220.9
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#336271
secondary
#A26F5E
accent
#765ACE
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336271

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

Preview Lab → · Contrast checker → · Palette generator →

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