#336897#336897

#336897 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.094 H 247.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#336897
RGBrgb(51, 104, 151)
HSLhsl(208, 50%, 40%)
HSVhsv(208, 66%, 59%)
CMYKcmyk(66.2%, 31.1%, 0%, 40.8%)
CIE-LABlab(42.52, -2.10, -30.85)
CIE-LCHlch(42.52, 30.93, 266.10°)
OKLaboklab(50.3% -0.0358 -0.0871)
OKLCHoklch(50.3% 0.094 247.7)
XYZxyz(11.8994, 12.8376, 31.1230)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336897 #976233
analogous
#339794 #336897 #333697
triadic
#336897 #973368 #689733
tetradic
#336897 #943397 #976233 #369733
square
#336897 #943397 #976233 #369733
split-complementary
#336897 #973336 #979433
monochromatic
#14293C #244869 #336897 #4787C1 #74A5D0

Accessibility & contrast

On white

5.89
#336897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#336897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336897
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336897#FFFFFF#000000##FFFFFF
##3368971.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336897;
/* rgb */ color: rgb(51, 104, 151);
/* oklch */ color: oklch(50.3% 0.094 247.7);
Tailwind
colors: {
  custom: {
    50: '#7592b6',
    500: '#336897',
    950: '#000000',
  },
}
SCSS
$custom: #336897;
$custom-light: #7592b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336897",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 208.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.09422,
    "h": 247.7
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#336897
secondary
#B8916D
accent
#904FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #336897

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

Preview Lab → · Contrast checker → · Palette generator →

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