#335E88#335E88

#335E88 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.084 H 249.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#335E88
RGBrgb(51, 94, 136)
HSLhsl(210, 45%, 37%)
HSVhsv(210, 63%, 53%)
CMYKcmyk(62.5%, 30.9%, 0%, 46.7%)
CIE-LABlab(38.70, -1.24, -27.82)
CIE-LCHlch(38.70, 27.85, 267.45°)
OKLaboklab(47.05% -0.0293 -0.0784)
OKLCHoklch(47.05% 0.084 249.5)
XYZxyz(9.8103, 10.4859, 24.7948)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E88 #885D33
analogous
#338888 #335E88 #333488
triadic
#335E88 #88335E #5E8833
tetradic
#335E88 #883388 #885D33 #348833
square
#335E88 #883388 #885D33 #348833
split-complementary
#335E88 #883334 #888833
monochromatic
#12202F #223F5B #335E88 #447DB5 #6D9BC8

Accessibility & contrast

On white

6.78
#335E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#335E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E88
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E88#FFFFFF#000000##FFFFFF
##335E881.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608A
Deuteranopia (green-blind)
#415787
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335e88;
/* rgb */ color: rgb(51, 94, 136);
/* oklch */ color: oklch(47.1% 0.084 249.5);
Tailwind
colors: {
  custom: {
    50: '#738bab',
    500: '#335e88',
    950: '#000000',
  },
}
SCSS
$custom: #335e88;
$custom-light: #738bab;
$custom-dark: #000000;
JSON
{
  "hex": "#335e88",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 136
  },
  "hsl": {
    "h": 209.647,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.08372,
    "h": 249.5
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#335E88
secondary
#B08B67
accent
#9353D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #335E88

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

Preview Lab → · Contrast checker → · Palette generator →

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