#336994#336994

#336994 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.090 H 245.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#336994
RGBrgb(51, 105, 148)
HSLhsl(207, 49%, 39%)
HSVhsv(207, 66%, 58%)
CMYKcmyk(65.5%, 29.1%, 0%, 42%)
CIE-LABlab(42.68, -3.77, -28.81)
CIE-LCHlch(42.68, 29.06, 262.54°)
OKLaboklab(50.38% -0.0379 -0.0812)
OKLCHoklch(50.38% 0.09 245)
XYZxyz(11.7601, 12.9439, 29.8899)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336994 #945E33
analogous
#33948F #336994 #333994
triadic
#336994 #943369 #699433
tetradic
#336994 #8F3394 #945E33 #399433
square
#336994 #8F3394 #945E33 #399433
split-complementary
#336994 #943339 #948F33
monochromatic
#142839 #234966 #336994 #4589BF #73A6CF

Accessibility & contrast

On white

5.85
#336994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#336994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336994
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336994#FFFFFF#000000##FFFFFF
##3369941.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A96
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #336994;
/* rgb */ color: rgb(51, 105, 148);
/* oklch */ color: oklch(50.4% 0.090 245.0);
Tailwind
colors: {
  custom: {
    50: '#7593b3',
    500: '#336994',
    950: '#000000',
  },
}
SCSS
$custom: #336994;
$custom-light: #7593b3;
$custom-dark: #000000;
JSON
{
  "hex": "#336994",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 148
  },
  "hsl": {
    "h": 206.598,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.08961,
    "h": 245
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#336994
secondary
#B78D6C
accent
#8C4FD8
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336994

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

Preview Lab → · Contrast checker → · Palette generator →

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