#336381#336381

#336381 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.9% C 0.071 H 238.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#336381
RGBrgb(51, 99, 129)
HSLhsl(203, 43%, 35%)
HSVhsv(203, 60%, 51%)
CMYKcmyk(60.5%, 23.3%, 0%, 49.4%)
CIE-LABlab(39.93, -6.73, -21.65)
CIE-LCHlch(39.93, 22.67, 252.72°)
OKLaboklab(47.92% -0.0376 -0.0606)
OKLCHoklch(47.92% 0.071 238.2)
XYZxyz(9.7880, 11.2116, 22.4128)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336381 #815133
analogous
#338178 #336381 #333C81
triadic
#336381 #813363 #638133
tetradic
#336381 #783381 #815133 #3C8133
square
#336381 #783381 #815133 #3C8133
split-complementary
#336381 #81333C #817833
monochromatic
#102029 #224155 #336381 #4485AD #6AA2C4

Accessibility & contrast

On white

6.48
#336381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336381
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336381#FFFFFF#000000##FFFFFF
##3363811.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556382
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#006B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336381;
/* rgb */ color: rgb(51, 99, 129);
/* oklch */ color: oklch(47.9% 0.071 238.2);
Tailwind
colors: {
  custom: {
    50: '#728fa5',
    500: '#336381',
    950: '#000000',
  },
}
SCSS
$custom: #336381;
$custom-light: #728fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#336381",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 129
  },
  "hsl": {
    "h": 203.077,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.07131,
    "h": 238.2
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336381

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

Preview Lab → · Contrast checker → · Palette generator →

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