#336D95#336D95

#336D95 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.088 H 241.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#336D95
RGBrgb(51, 109, 149)
HSLhsl(204, 49%, 39%)
HSVhsv(204, 66%, 58%)
CMYKcmyk(65.8%, 26.8%, 0%, 41.6%)
CIE-LABlab(43.96, -5.84, -27.41)
CIE-LCHlch(43.96, 28.02, 257.98°)
OKLaboklab(51.41% -0.042 -0.0771)
OKLCHoklch(51.41% 0.088 241.4)
XYZxyz(12.2566, 13.8098, 30.4476)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D95 #955B33
analogous
#33958C #336D95 #333C95
triadic
#336D95 #95336D #6D9533
tetradic
#336D95 #8C3395 #955B33 #3C9533
square
#336D95 #8C3395 #955B33 #3C9533
split-complementary
#336D95 #95333C #958C33
monochromatic
#142A3A #234C67 #336D95 #468EC0 #73AACF

Accessibility & contrast

On white

5.58
#336D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#336D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D95
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D95#FFFFFF#000000##FFFFFF
##336D951.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6D97
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#00777B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336d95;
/* rgb */ color: rgb(51, 109, 149);
/* oklch */ color: oklch(51.4% 0.088 241.4);
Tailwind
colors: {
  custom: {
    50: '#7596b4',
    500: '#336d95',
    950: '#000000',
  },
}
SCSS
$custom: #336d95;
$custom-light: #7596b4;
$custom-dark: #000000;
JSON
{
  "hex": "#336d95",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 149
  },
  "hsl": {
    "h": 204.49,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.08779,
    "h": 241.4
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#336D95
secondary
#B78B6C
accent
#874FD9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336D95

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

Preview Lab → · Contrast checker → · Palette generator →

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