#336397#336397

#336397 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.1% C 0.099 H 252.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#336397
RGBrgb(51, 99, 151)
HSLhsl(211, 50%, 40%)
HSVhsv(211, 66%, 59%)
CMYKcmyk(66.2%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.99, 1.00, -33.25)
CIE-LCHlch(40.99, 33.27, 271.72°)
OKLaboklab(49.1% -0.0304 -0.0942)
OKLCHoklch(49.1% 0.099 252.1)
XYZxyz(11.4109, 11.8607, 30.9601)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336397 #976733
analogous
#339597 #336397 #353397
triadic
#336397 #973363 #639733
tetradic
#336397 #973395 #976733 #339735
square
#336397 #973395 #976733 #339735
split-complementary
#336397 #973533 #959733
monochromatic
#14273C #244569 #336397 #4781C1 #74A0D0

Accessibility & contrast

On white

6.23
#336397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#336397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336397
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336397#FFFFFF#000000##FFFFFF
##3363971.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#3F5C96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336397;
/* rgb */ color: rgb(51, 99, 151);
/* oklch */ color: oklch(49.1% 0.099 252.1);
Tailwind
colors: {
  custom: {
    50: '#758fb6',
    500: '#336397',
    950: '#000000',
  },
}
SCSS
$custom: #336397;
$custom-light: #758fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#336397",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 211.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.09896,
    "h": 252.1
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336397

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

Preview Lab → · Contrast checker → · Palette generator →

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