#336097#336097

#336097 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.102 H 254.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#336097
RGBrgb(51, 96, 151)
HSLhsl(213, 50%, 40%)
HSVhsv(213, 66%, 59%)
CMYKcmyk(66.2%, 36.4%, 0%, 40.8%)
CIE-LABlab(40.09, 2.88, -34.68)
CIE-LCHlch(40.09, 34.80, 274.75°)
OKLaboklab(48.39% -0.0271 -0.0984)
OKLCHoklch(48.39% 0.102 254.6)
XYZxyz(11.1320, 11.3028, 30.8672)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336097 #976A33
analogous
#339297 #336097 #383397
triadic
#336097 #973360 #609733
tetradic
#336097 #973392 #976A33 #339738
square
#336097 #973392 #976A33 #339738
split-complementary
#336097 #973833 #929733
monochromatic
#14263C #244369 #336097 #477DC1 #749ED0

Accessibility & contrast

On white

6.44
#336097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#336097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336097
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336097#FFFFFF#000000##FFFFFF
##3360971.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#006D74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336097;
/* rgb */ color: rgb(51, 96, 151);
/* oklch */ color: oklch(48.4% 0.102 254.6);
Tailwind
colors: {
  custom: {
    50: '#758cb6',
    500: '#336097',
    950: '#000000',
  },
}
SCSS
$custom: #336097;
$custom-light: #758cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#336097",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 151
  },
  "hsl": {
    "h": 213,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.10207,
    "h": 254.6
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#336097
secondary
#B8976D
accent
#9B4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336097

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

Preview Lab → · Contrast checker → · Palette generator →

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