#335C88#335C88

#335C88 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.086 H 251.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#335C88
RGBrgb(51, 92, 136)
HSLhsl(211, 45%, 37%)
HSVhsv(211, 63%, 53%)
CMYKcmyk(62.5%, 32.4%, 0%, 46.7%)
CIE-LABlab(38.08, 0.02, -28.79)
CIE-LCHlch(38.08, 28.79, 270.03°)
OKLaboklab(46.57% -0.027 -0.0813)
OKLCHoklch(46.57% 0.086 251.6)
XYZxyz(9.6347, 10.1348, 24.7362)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C88 #885F33
analogous
#338788 #335C88 #353388
triadic
#335C88 #88335C #5C8833
tetradic
#335C88 #883387 #885F33 #338835
square
#335C88 #883387 #885F33 #338835
split-complementary
#335C88 #883533 #878833
monochromatic
#12202F #223E5B #335C88 #447AB5 #6D99C8

Accessibility & contrast

On white

6.94
#335C88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#335C88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335C88
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C88#FFFFFF#000000##FFFFFF
##335C881.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335c88;
/* rgb */ color: rgb(51, 92, 136);
/* oklch */ color: oklch(46.6% 0.086 251.6);
Tailwind
colors: {
  custom: {
    50: '#7389ab',
    500: '#335c88',
    950: '#000000',
  },
}
SCSS
$custom: #335c88;
$custom-light: #7389ab;
$custom-dark: #000000;
JSON
{
  "hex": "#335c88",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 136
  },
  "hsl": {
    "h": 211.059,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.08562,
    "h": 251.6
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#335C88
secondary
#B08D67
accent
#9653D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335C88

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

Preview Lab → · Contrast checker → · Palette generator →

#335C88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva