#336276#336276

#336276 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.1% C 0.061 H 227.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#336276
RGBrgb(51, 98, 118)
HSLhsl(198, 40%, 33%)
HSVhsv(198, 57%, 46%)
CMYKcmyk(56.8%, 16.9%, 0%, 53.7%)
CIE-LABlab(39.15, -9.80, -16.16)
CIE-LCHlch(39.15, 18.90, 238.75°)
OKLaboklab(47.14% -0.0407 -0.0449)
OKLCHoklch(47.14% 0.061 227.8)
XYZxyz(9.0017, 10.7464, 18.7359)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336276 #764733
analogous
#337668 #336276 #334076
triadic
#336276 #763362 #627633
tetradic
#336276 #683376 #764733 #407633
square
#336276 #683376 #764733 #407633
split-complementary
#336276 #763340 #766833
monochromatic
#0E1B21 #213F4B #336276 #4585A1 #66A3BD

Accessibility & contrast

On white

6.67
#336276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#336276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336276
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336276#FFFFFF#000000##FFFFFF
##3362761.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586077
Deuteranopia (green-blind)
#4E5976
Tritanopia (blue-blind)
#006868
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336276;
/* rgb */ color: rgb(51, 98, 118);
/* oklch */ color: oklch(47.1% 0.061 227.8);
Tailwind
colors: {
  custom: {
    50: '#708e9d',
    500: '#336276',
    950: '#000000',
  },
}
SCSS
$custom: #336276;
$custom-light: #708e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#336276",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 118
  },
  "hsl": {
    "h": 197.91,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.06061,
    "h": 227.8
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#336276
secondary
#A57460
accent
#7C58D0
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336276

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

Preview Lab → · Contrast checker → · Palette generator →

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