#336487#336487

#336487 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.5% C 0.078 H 241.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#336487
RGBrgb(51, 100, 135)
HSLhsl(205, 45%, 36%)
HSVhsv(205, 62%, 53%)
CMYKcmyk(62.2%, 25.9%, 0%, 47.1%)
CIE-LABlab(40.52, -5.28, -24.38)
CIE-LCHlch(40.52, 24.94, 257.78°)
OKLaboklab(48.47% -0.0366 -0.0684)
OKLCHoklch(48.47% 0.078 241.8)
XYZxyz(10.2940, 11.5664, 24.6070)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336487 #875633
analogous
#338780 #336487 #333A87
triadic
#336487 #873364 #648733
tetradic
#336487 #803387 #875633 #3A8733
square
#336487 #803387 #875633 #3A8733
split-complementary
#336487 #87333A #878033
monochromatic
#11222E #22435B #336487 #4485B3 #6DA2C8

Accessibility & contrast

On white

6.34
#336487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#336487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336487
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336487#FFFFFF#000000##FFFFFF
##3364871.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#006D70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336487;
/* rgb */ color: rgb(51, 100, 135);
/* oklch */ color: oklch(48.5% 0.078 241.8);
Tailwind
colors: {
  custom: {
    50: '#7390aa',
    500: '#336487',
    950: '#000000',
  },
}
SCSS
$custom: #336487;
$custom-light: #7390aa;
$custom-dark: #000000;
JSON
{
  "hex": "#336487",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 135
  },
  "hsl": {
    "h": 205,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.07761,
    "h": 241.8
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#336487
secondary
#B08566
accent
#8953D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336487

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

Preview Lab → · Contrast checker → · Palette generator →

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