#336995#336995

#336995 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.4% C 0.091 H 245.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#336995
RGBrgb(51, 105, 149)
HSLhsl(207, 49%, 39%)
HSVhsv(207, 66%, 58%)
CMYKcmyk(65.8%, 29.5%, 0%, 41.6%)
CIE-LABlab(42.73, -3.42, -29.33)
CIE-LCHlch(42.73, 29.53, 263.35°)
OKLaboklab(50.43% -0.0376 -0.0827)
OKLCHoklch(50.43% 0.091 245.6)
XYZxyz(11.8396, 12.9757, 30.3085)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336995 #955F33
analogous
#339590 #336995 #333895
triadic
#336995 #953369 #699533
tetradic
#336995 #903395 #955F33 #389533
square
#336995 #903395 #955F33 #389533
split-complementary
#336995 #953338 #959033
monochromatic
#14293A #234967 #336995 #4689C0 #73A6CF

Accessibility & contrast

On white

5.84
#336995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#336995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336995
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336995#FFFFFF#000000##FFFFFF
##3369951.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A97
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#007478
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336995;
/* rgb */ color: rgb(51, 105, 149);
/* oklch */ color: oklch(50.4% 0.091 245.6);
Tailwind
colors: {
  custom: {
    50: '#7593b4',
    500: '#336995',
    950: '#000000',
  },
}
SCSS
$custom: #336995;
$custom-light: #7593b4;
$custom-dark: #000000;
JSON
{
  "hex": "#336995",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 149
  },
  "hsl": {
    "h": 206.939,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.09085,
    "h": 245.6
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#336995
secondary
#B78E6C
accent
#8D4FD9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336995

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

Preview Lab → · Contrast checker → · Palette generator →

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