#336891#336891

#336891 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.087 H 244.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#336891
RGBrgb(51, 104, 145)
HSLhsl(206, 48%, 38%)
HSVhsv(206, 65%, 57%)
CMYKcmyk(64.8%, 28.3%, 0%, 43.1%)
CIE-LABlab(42.23, -4.22, -27.73)
CIE-LCHlch(42.23, 28.05, 261.34°)
OKLaboklab(49.98% -0.0378 -0.0781)
OKLCHoklch(49.98% 0.087 244.2)
XYZxyz(11.4245, 12.6476, 28.6217)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336891 #915C33
analogous
#33918B #336891 #333991
triadic
#336891 #913368 #689133
tetradic
#336891 #8B3391 #915C33 #399133
square
#336891 #8B3391 #915C33 #399133
split-complementary
#336891 #913339 #918B33
monochromatic
#132736 #234864 #336891 #4488BD #71A5CD

Accessibility & contrast

On white

5.95
#336891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#336891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336891
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336891#FFFFFF#000000##FFFFFF
##3368911.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566993
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#007276
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336891;
/* rgb */ color: rgb(51, 104, 145);
/* oklch */ color: oklch(50.0% 0.087 244.2);
Tailwind
colors: {
  custom: {
    50: '#7493b1',
    500: '#336891',
    950: '#000000',
  },
}
SCSS
$custom: #336891;
$custom-light: #7493b1;
$custom-dark: #000000;
JSON
{
  "hex": "#336891",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 145
  },
  "hsl": {
    "h": 206.17,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.08673,
    "h": 244.2
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#336891
secondary
#B58B6B
accent
#8B50D8
background
#F7F9FA
surface
#EDF1F5
border
#C8CBCF
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336891

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

Preview Lab → · Contrast checker → · Palette generator →

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