#336791#336791

#336791 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.088 H 245.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#336791
RGBrgb(51, 103, 145)
HSLhsl(207, 48%, 38%)
HSVhsv(207, 65%, 57%)
CMYKcmyk(64.8%, 29%, 0%, 43.1%)
CIE-LABlab(41.92, -3.62, -28.21)
CIE-LCHlch(41.92, 28.44, 262.70°)
OKLaboklab(49.73% -0.0366 -0.0795)
OKLCHoklch(49.73% 0.088 245.3)
XYZxyz(11.3244, 12.4475, 28.5884)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336791 #915D33
analogous
#33918C #336791 #333891
triadic
#336791 #913367 #679133
tetradic
#336791 #8C3391 #915D33 #389133
square
#336791 #8C3391 #915D33 #389133
split-complementary
#336791 #913338 #918C33
monochromatic
#132736 #234764 #336791 #4487BD #71A4CD

Accessibility & contrast

On white

6.02
#336791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#336791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336791
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336791#FFFFFF#000000##FFFFFF
##3367911.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556893
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336791;
/* rgb */ color: rgb(51, 103, 145);
/* oklch */ color: oklch(49.7% 0.088 245.3);
Tailwind
colors: {
  custom: {
    50: '#7492b1',
    500: '#336791',
    950: '#000000',
  },
}
SCSS
$custom: #336791;
$custom-light: #7492b1;
$custom-dark: #000000;
JSON
{
  "hex": "#336791",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 206.809,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.08752,
    "h": 245.3
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#336791
secondary
#B58C6B
accent
#8D50D8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #336791

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

Preview Lab → · Contrast checker → · Palette generator →

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