#336F95#336F95

#336F95 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.086 H 239.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#336F95
RGBrgb(51, 111, 149)
HSLhsl(203, 49%, 39%)
HSVhsv(203, 66%, 58%)
CMYKcmyk(65.8%, 25.5%, 0%, 41.6%)
CIE-LABlab(44.58, -7.03, -26.45)
CIE-LCHlch(44.58, 27.36, 255.12°)
OKLaboklab(51.9% -0.0442 -0.0743)
OKLCHoklch(51.9% 0.086 239.3)
XYZxyz(12.4724, 14.2413, 30.5195)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F95 #955933
analogous
#33958A #336F95 #333E95
triadic
#336F95 #95336F #6F9533
tetradic
#336F95 #8A3395 #955933 #3E9533
square
#336F95 #8A3395 #955933 #3E9533
split-complementary
#336F95 #95333E #958A33
monochromatic
#142B3A #234D67 #336F95 #4690C0 #73ACCF

Accessibility & contrast

On white

5.46
#336F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#336F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F95
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F95#FFFFFF#000000##FFFFFF
##336F951.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F97
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#00797C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336f95;
/* rgb */ color: rgb(51, 111, 149);
/* oklch */ color: oklch(51.9% 0.086 239.3);
Tailwind
colors: {
  custom: {
    50: '#7598b4',
    500: '#336f95',
    950: '#000000',
  },
}
SCSS
$custom: #336f95;
$custom-light: #7598b4;
$custom-dark: #000000;
JSON
{
  "hex": "#336f95",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 149
  },
  "hsl": {
    "h": 203.265,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.08647,
    "h": 239.3
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#336F95
secondary
#B7896C
accent
#844FD9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F95

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

Preview Lab → · Contrast checker → · Palette generator →

#336F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva