#336287#336287

#336287 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.079 H 244.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#336287
RGBrgb(51, 98, 135)
HSLhsl(206, 45%, 36%)
HSVhsv(206, 62%, 53%)
CMYKcmyk(62.2%, 27.4%, 0%, 47.1%)
CIE-LABlab(39.89, -4.06, -25.35)
CIE-LCHlch(39.89, 25.67, 260.89°)
OKLaboklab(47.98% -0.0343 -0.0712)
OKLCHoklch(47.98% 0.079 244.3)
XYZxyz(10.1045, 11.1875, 24.5439)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336287 #875833
analogous
#338782 #336287 #333887
triadic
#336287 #873362 #628733
tetradic
#336287 #823387 #875833 #388733
square
#336287 #823387 #875833 #388733
split-complementary
#336287 #873338 #878233
monochromatic
#11222E #22425B #336287 #4482B3 #6DA0C8

Accessibility & contrast

On white

6.49
#336287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#336287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336287
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336287#FFFFFF#000000##FFFFFF
##3362871.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#006B6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336287;
/* rgb */ color: rgb(51, 98, 135);
/* oklch */ color: oklch(48.0% 0.079 244.3);
Tailwind
colors: {
  custom: {
    50: '#738eaa',
    500: '#336287',
    950: '#000000',
  },
}
SCSS
$custom: #336287;
$custom-light: #738eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#336287",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 135
  },
  "hsl": {
    "h": 206.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.07906,
    "h": 244.3
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#336287
secondary
#B08766
accent
#8C53D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336287

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

Preview Lab → · Contrast checker → · Palette generator →

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