#335E99#335E99

#335E99 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.107 H 256.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#335E99
RGBrgb(51, 94, 153)
HSLhsl(215, 50%, 40%)
HSVhsv(215, 67%, 60%)
CMYKcmyk(66.7%, 38.6%, 0%, 40%)
CIE-LABlab(39.59, 4.88, -36.66)
CIE-LCHlch(39.59, 36.99, 277.59°)
OKLaboklab(48.04% -0.0245 -0.1042)
OKLCHoklch(48.04% 0.107 256.8)
XYZxyz(11.1156, 11.0080, 31.6698)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E99 #996E33
analogous
#339199 #335E99 #3B3399
triadic
#335E99 #99335E #5E9933
tetradic
#335E99 #993391 #996E33 #33993B
square
#335E99 #993391 #996E33 #33993B
split-complementary
#335E99 #993B33 #919933
monochromatic
#14263D #24426B #335E99 #477BC2 #759CD1

Accessibility & contrast

On white

6.56
#335E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#335E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E99
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E99#FFFFFF#000000##FFFFFF
##335E991.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335e99;
/* rgb */ color: rgb(51, 94, 153);
/* oklch */ color: oklch(48.0% 0.107 256.8);
Tailwind
colors: {
  custom: {
    50: '#768bb7',
    500: '#335e99',
    950: '#000000',
  },
}
SCSS
$custom: #335e99;
$custom-light: #768bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#335e99",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 214.706,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.10704,
    "h": 256.8
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#335E99
secondary
#B99A6E
accent
#9F4EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335E99

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

Preview Lab → · Contrast checker → · Palette generator →

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