#336296#336296

#336296 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.8% C 0.099 H 252.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#336296
RGBrgb(51, 98, 150)
HSLhsl(212, 49%, 39%)
HSVhsv(212, 66%, 59%)
CMYKcmyk(66%, 34.7%, 0%, 41.2%)
CIE-LABlab(40.64, 1.26, -33.21)
CIE-LCHlch(40.64, 33.24, 272.17°)
OKLaboklab(48.81% -0.0296 -0.0941)
OKLCHoklch(48.81% 0.099 252.5)
XYZxyz(11.2359, 11.6401, 30.5029)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336296 #966733
analogous
#339496 #336296 #353396
triadic
#336296 #963362 #629633
tetradic
#336296 #963394 #966733 #339635
square
#336296 #963394 #966733 #339635
split-complementary
#336296 #963533 #949633
monochromatic
#14263B #234468 #336296 #4680C0 #749FD0

Accessibility & contrast

On white

6.31
#336296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#336296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336296
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336296#FFFFFF#000000##FFFFFF
##3362961.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6598
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336296;
/* rgb */ color: rgb(51, 98, 150);
/* oklch */ color: oklch(48.8% 0.099 252.5);
Tailwind
colors: {
  custom: {
    50: '#758eb5',
    500: '#336296',
    950: '#000000',
  },
}
SCSS
$custom: #336296;
$custom-light: #758eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#336296",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 150
  },
  "hsl": {
    "h": 211.515,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.09862,
    "h": 252.5
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#336296
secondary
#B8946D
accent
#974FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336296

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

Preview Lab → · Contrast checker → · Palette generator →

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