#336790#336790

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

Color values

HEX#336790
RGBrgb(51, 103, 144)
HSLhsl(206, 48%, 38%)
HSVhsv(206, 65%, 56%)
CMYKcmyk(64.6%, 28.5%, 0%, 43.5%)
CIE-LABlab(41.87, -3.97, -27.68)
CIE-LCHlch(41.87, 27.97, 261.84°)
OKLaboklab(49.68% -0.037 -0.078)
OKLCHoklch(49.68% 0.086 244.6)
XYZxyz(11.2476, 12.4168, 28.1841)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336790 #905C33
analogous
#33908A #336790 #333890
triadic
#336790 #903367 #679033
tetradic
#336790 #8A3390 #905C33 #389033
square
#336790 #8A3390 #905C33 #389033
split-complementary
#336790 #903338 #908A33
monochromatic
#132636 #234763 #336790 #4487BD #71A4CD

Accessibility & contrast

On white

6.03
#336790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#336790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336790
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336790#FFFFFF#000000##FFFFFF
##3367901.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556892
Deuteranopia (green-blind)
#485F8F
Tritanopia (blue-blind)
#007175
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336790;
/* rgb */ color: rgb(51, 103, 144);
/* oklch */ color: oklch(49.7% 0.086 244.6);
Tailwind
colors: {
  custom: {
    50: '#7492b0',
    500: '#336790',
    950: '#000000',
  },
}
SCSS
$custom: #336790;
$custom-light: #7492b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336790",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 206.452,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.08629,
    "h": 244.6
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#336790
secondary
#B58B6A
accent
#8C51D7
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #336790

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

Preview Lab → · Contrast checker → · Palette generator →

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