#335885#335885

#335885 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.086 H 254.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#335885
RGBrgb(51, 88, 133)
HSLhsl(213, 45%, 36%)
HSVhsv(213, 62%, 52%)
CMYKcmyk(61.7%, 33.8%, 0%, 47.8%)
CIE-LABlab(36.70, 1.48, -29.14)
CIE-LCHlch(36.70, 29.18, 272.91°)
OKLaboklab(45.43% -0.0232 -0.0823)
OKLCHoklch(45.43% 0.086 254.2)
XYZxyz(9.0871, 9.3759, 23.5166)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335885 #856033
analogous
#338185 #335885 #373385
triadic
#335885 #853358 #588533
tetradic
#335885 #853381 #856033 #338537
square
#335885 #853381 #856033 #338537
split-complementary
#335885 #853733 #818533
monochromatic
#111D2D #223B59 #335885 #4475B1 #6C95C7

Accessibility & contrast

On white

7.30
#335885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#335885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335885
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335885#FFFFFF#000000##FFFFFF
##3358851.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B87
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335885;
/* rgb */ color: rgb(51, 88, 133);
/* oklch */ color: oklch(45.4% 0.086 254.2);
Tailwind
colors: {
  custom: {
    50: '#7286a8',
    500: '#335885',
    950: '#000000',
  },
}
SCSS
$custom: #335885;
$custom-light: #7286a8;
$custom-dark: #000000;
JSON
{
  "hex": "#335885",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 133
  },
  "hsl": {
    "h": 212.927,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.08552,
    "h": 254.2
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#335885
secondary
#AE8D65
accent
#9A54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #335885

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

Preview Lab → · Contrast checker → · Palette generator →

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