#336F91#336F91

#336F91 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.082 H 236.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#336F91
RGBrgb(51, 111, 145)
HSLhsl(202, 48%, 38%)
HSVhsv(202, 65%, 57%)
CMYKcmyk(64.8%, 23.4%, 0%, 43.1%)
CIE-LABlab(44.40, -8.41, -24.35)
CIE-LCHlch(44.40, 25.76, 250.95°)
OKLaboklab(51.69% -0.0456 -0.0683)
OKLCHoklch(51.69% 0.082 236.2)
XYZxyz(12.1586, 14.1158, 28.8664)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F91 #915533
analogous
#339184 #336F91 #334091
triadic
#336F91 #91336F #6F9133
tetradic
#336F91 #843391 #915533 #409133
square
#336F91 #843391 #915533 #409133
split-complementary
#336F91 #913340 #918433
monochromatic
#132A36 #234C64 #336F91 #4491BD #71ACCD

Accessibility & contrast

On white

5.49
#336F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#336F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F91
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F91#FFFFFF#000000##FFFFFF
##336F911.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E93
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#00787A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336f91;
/* rgb */ color: rgb(51, 111, 145);
/* oklch */ color: oklch(51.7% 0.082 236.2);
Tailwind
colors: {
  custom: {
    50: '#7598b1',
    500: '#336f91',
    950: '#000000',
  },
}
SCSS
$custom: #336f91;
$custom-light: #7598b1;
$custom-dark: #000000;
JSON
{
  "hex": "#336f91",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 145
  },
  "hsl": {
    "h": 201.702,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.08211,
    "h": 236.2
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#336F91
secondary
#B5866B
accent
#8150D8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336F91

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

Preview Lab → · Contrast checker → · Palette generator →

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