#336990#336990

#336990 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.085 H 242.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#336990
RGBrgb(51, 105, 144)
HSLhsl(205, 48%, 38%)
HSVhsv(205, 65%, 56%)
CMYKcmyk(64.6%, 27.1%, 0%, 43.5%)
CIE-LABlab(42.49, -5.18, -26.72)
CIE-LCHlch(42.49, 27.21, 259.03°)
OKLaboklab(50.17% -0.0392 -0.0751)
OKLCHoklch(50.17% 0.085 242.4)
XYZxyz(11.4490, 12.8194, 28.2512)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336990 #905A33
analogous
#339088 #336990 #333B90
triadic
#336990 #903369 #699033
tetradic
#336990 #883390 #905A33 #3B9033
square
#336990 #883390 #905A33 #3B9033
split-complementary
#336990 #90333B #908833
monochromatic
#132736 #234863 #336990 #448ABD #71A6CD

Accessibility & contrast

On white

5.89
#336990 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#336990 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336990
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336990#FFFFFF#000000##FFFFFF
##3369901.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586992
Deuteranopia (green-blind)
#4B608F
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336990;
/* rgb */ color: rgb(51, 105, 144);
/* oklch */ color: oklch(50.2% 0.085 242.4);
Tailwind
colors: {
  custom: {
    50: '#7493b0',
    500: '#336990',
    950: '#000000',
  },
}
SCSS
$custom: #336990;
$custom-light: #7493b0;
$custom-dark: #000000;
JSON
{
  "hex": "#336990",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 144
  },
  "hsl": {
    "h": 205.161,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.08477,
    "h": 242.4
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#336990
secondary
#B5896A
accent
#8951D7
background
#F7F9FA
surface
#EDF1F5
border
#C8CBCF
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336990

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

Preview Lab → · Contrast checker → · Palette generator →

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