#335D88#335D88

#335D88 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.085 H 250.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#335D88
RGBrgb(51, 93, 136)
HSLhsl(210, 45%, 37%)
HSVhsv(210, 63%, 53%)
CMYKcmyk(62.5%, 31.6%, 0%, 46.7%)
CIE-LABlab(38.39, -0.61, -28.30)
CIE-LCHlch(38.39, 28.31, 268.76°)
OKLaboklab(46.81% -0.0281 -0.0798)
OKLCHoklch(46.81% 0.085 250.6)
XYZxyz(9.7219, 10.3092, 24.7653)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D88 #885E33
analogous
#338888 #335D88 #343388
triadic
#335D88 #88335D #5D8833
tetradic
#335D88 #883388 #885E33 #338834
square
#335D88 #883388 #885E33 #338834
split-complementary
#335D88 #883433 #888833
monochromatic
#12202F #223F5B #335D88 #447BB5 #6D9AC8

Accessibility & contrast

On white

6.86
#335D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#335D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D88
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D88#FFFFFF#000000##FFFFFF
##335D881.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8A
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335d88;
/* rgb */ color: rgb(51, 93, 136);
/* oklch */ color: oklch(46.8% 0.085 250.6);
Tailwind
colors: {
  custom: {
    50: '#738aab',
    500: '#335d88',
    950: '#000000',
  },
}
SCSS
$custom: #335d88;
$custom-light: #738aab;
$custom-dark: #000000;
JSON
{
  "hex": "#335d88",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 136
  },
  "hsl": {
    "h": 210.353,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.08466,
    "h": 250.6
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#335D88
secondary
#B08C67
accent
#9553D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #335D88

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

Preview Lab → · Contrast checker → · Palette generator →

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