#336882#336882

#336882 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.2% C 0.070 H 231.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#336882
RGBrgb(51, 104, 130)
HSLhsl(200, 44%, 35%)
HSVhsv(200, 61%, 51%)
CMYKcmyk(60.8%, 20%, 0%, 49%)
CIE-LABlab(41.56, -9.37, -19.75)
CIE-LCHlch(41.56, 21.86, 244.61°)
OKLaboklab(49.22% -0.0432 -0.0551)
OKLCHoklch(49.22% 0.07 231.9)
XYZxyz(10.3433, 12.2152, 22.9274)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336882 #824D33
analogous
#338274 #336882 #334082
triadic
#336882 #823368 #688233
tetradic
#336882 #743382 #824D33 #408233
square
#336882 #743382 #824D33 #408233
split-complementary
#336882 #823340 #827433
monochromatic
#11222A #224556 #336882 #448BAE #6BA7C5

Accessibility & contrast

On white

6.10
#336882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336882
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336882#FFFFFF#000000##FFFFFF
##3368821.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6783
Deuteranopia (green-blind)
#505E82
Tritanopia (blue-blind)
#006F71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336882;
/* rgb */ color: rgb(51, 104, 130);
/* oklch */ color: oklch(49.2% 0.070 231.9);
Tailwind
colors: {
  custom: {
    50: '#7293a6',
    500: '#336882',
    950: '#000000',
  },
}
SCSS
$custom: #336882;
$custom-light: #7293a6;
$custom-dark: #000000;
JSON
{
  "hex": "#336882",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 130
  },
  "hsl": {
    "h": 199.747,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.07004,
    "h": 231.9
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#336882
secondary
#AD7C64
accent
#7E54D3
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #336882

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

Preview Lab → · Contrast checker → · Palette generator →

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