#336199#336199

#336199 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.7% C 0.104 H 254.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#336199
RGBrgb(51, 97, 153)
HSLhsl(213, 50%, 40%)
HSVhsv(213, 67%, 60%)
CMYKcmyk(66.7%, 36.6%, 0%, 40%)
CIE-LABlab(40.49, 2.98, -35.23)
CIE-LCHlch(40.49, 35.36, 274.83°)
OKLaboklab(48.75% -0.0277 -0.1)
OKLCHoklch(48.75% 0.104 254.5)
XYZxyz(11.3876, 11.5520, 31.7604)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336199 #996B33
analogous
#339499 #336199 #383399
triadic
#336199 #993361 #619933
tetradic
#336199 #993394 #996B33 #339938
square
#336199 #993394 #996B33 #339938
split-complementary
#336199 #993833 #949933
monochromatic
#14273D #24446B #336199 #477FC2 #759FD1

Accessibility & contrast

On white

6.34
#336199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#336199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336199
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336199#FFFFFF#000000##FFFFFF
##3361991.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659B
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336199;
/* rgb */ color: rgb(51, 97, 153);
/* oklch */ color: oklch(48.7% 0.104 254.5);
Tailwind
colors: {
  custom: {
    50: '#768db7',
    500: '#336199',
    950: '#000000',
  },
}
SCSS
$custom: #336199;
$custom-light: #768db7;
$custom-dark: #000000;
JSON
{
  "hex": "#336199",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 153
  },
  "hsl": {
    "h": 212.941,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.10376,
    "h": 254.5
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#336199
secondary
#B9986E
accent
#9B4EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336199

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

Preview Lab → · Contrast checker → · Palette generator →

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