#335681#335681

#335681 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.082 H 254.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#335681
RGBrgb(51, 86, 129)
HSLhsl(213, 43%, 35%)
HSVhsv(213, 60%, 51%)
CMYKcmyk(60.5%, 33.3%, 0%, 49.4%)
CIE-LABlab(35.88, 1.34, -27.98)
CIE-LCHlch(35.88, 28.01, 272.74°)
OKLaboklab(44.72% -0.022 -0.079)
OKLCHoklch(44.72% 0.082 254.4)
XYZxyz(8.6541, 8.9436, 22.0349)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335681 #815E33
analogous
#337D81 #335681 #373381
triadic
#335681 #813356 #568133
tetradic
#335681 #81337D #815E33 #338137
square
#335681 #81337D #815E33 #338137
split-complementary
#335681 #813733 #7D8133
monochromatic
#101C29 #223955 #335681 #4473AD #6A93C4

Accessibility & contrast

On white

7.53
#335681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#335681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335681
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335681#FFFFFF#000000##FFFFFF
##3356811.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445983
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#006065
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335681;
/* rgb */ color: rgb(51, 86, 129);
/* oklch */ color: oklch(44.7% 0.082 254.4);
Tailwind
colors: {
  custom: {
    50: '#7285a6',
    500: '#335681',
    950: '#000000',
  },
}
SCSS
$custom: #335681;
$custom-light: #7285a6;
$custom-dark: #000000;
JSON
{
  "hex": "#335681",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 129
  },
  "hsl": {
    "h": 213.077,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.08199,
    "h": 254.4
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#335681
secondary
#AC8C64
accent
#9A55D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335681

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

Preview Lab → · Contrast checker → · Palette generator →

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