#336099#336099

#336099 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.5% C 0.105 H 255.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#336099
RGBrgb(51, 96, 153)
HSLhsl(214, 50%, 40%)
HSVhsv(214, 67%, 60%)
CMYKcmyk(66.7%, 37.3%, 0%, 40%)
CIE-LABlab(40.19, 3.61, -35.71)
CIE-LCHlch(40.19, 35.89, 275.77°)
OKLaboklab(48.51% -0.0266 -0.1014)
OKLCHoklch(48.51% 0.105 255.3)
XYZxyz(11.2958, 11.3683, 31.7298)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336099 #996C33
analogous
#339399 #336099 #393399
triadic
#336099 #993360 #609933
tetradic
#336099 #993393 #996C33 #339939
square
#336099 #993393 #996C33 #339939
split-complementary
#336099 #993933 #939933
monochromatic
#14263D #24436B #336099 #477DC2 #759ED1

Accessibility & contrast

On white

6.41
#336099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#336099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336099
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336099#FFFFFF#000000##FFFFFF
##3360991.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336099;
/* rgb */ color: rgb(51, 96, 153);
/* oklch */ color: oklch(48.5% 0.105 255.3);
Tailwind
colors: {
  custom: {
    50: '#768cb7',
    500: '#336099',
    950: '#000000',
  },
}
SCSS
$custom: #336099;
$custom-light: #768cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#336099",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 153
  },
  "hsl": {
    "h": 213.529,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.10483,
    "h": 255.3
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336099

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

Preview Lab → · Contrast checker → · Palette generator →

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