#336281#336281

#336281 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.7% C 0.072 H 239.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#336281
RGBrgb(51, 98, 129)
HSLhsl(204, 43%, 35%)
HSVhsv(204, 60%, 51%)
CMYKcmyk(60.5%, 24%, 0%, 49.4%)
CIE-LABlab(39.62, -6.13, -22.14)
CIE-LCHlch(39.62, 22.97, 254.52°)
OKLaboklab(47.67% -0.0364 -0.062)
OKLCHoklch(47.67% 0.072 239.6)
XYZxyz(9.6939, 11.0233, 22.3815)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336281 #815233
analogous
#338179 #336281 #333B81
triadic
#336281 #813362 #628133
tetradic
#336281 #793381 #815233 #3B8133
square
#336281 #793381 #815233 #3B8133
split-complementary
#336281 #81333B #817933
monochromatic
#101F29 #224155 #336281 #4483AD #6AA0C4

Accessibility & contrast

On white

6.55
#336281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#336281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336281
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336281#FFFFFF#000000##FFFFFF
##3362811.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546282
Deuteranopia (green-blind)
#495A80
Tritanopia (blue-blind)
#006A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336281;
/* rgb */ color: rgb(51, 98, 129);
/* oklch */ color: oklch(47.7% 0.072 239.6);
Tailwind
colors: {
  custom: {
    50: '#728ea5',
    500: '#336281',
    950: '#000000',
  },
}
SCSS
$custom: #336281;
$custom-light: #728ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#336281",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 203.846,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.0719,
    "h": 239.6
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#336281
secondary
#AC8064
accent
#8755D3
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #336281

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

Preview Lab → · Contrast checker → · Palette generator →

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