#335D97#335D97

#335D97 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.105 H 256.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#335D97
RGBrgb(51, 93, 151)
HSLhsl(215, 50%, 40%)
HSVhsv(215, 66%, 59%)
CMYKcmyk(66.2%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.18, 4.79, -36.11)
CIE-LCHlch(39.18, 36.43, 277.56°)
OKLaboklab(47.69% -0.0239 -0.1026)
OKLCHoklch(47.69% 0.105 256.9)
XYZxyz(10.8635, 10.7658, 30.7777)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D97 #976D33
analogous
#338F97 #335D97 #3B3397
triadic
#335D97 #97335D #5D9733
tetradic
#335D97 #97338F #976D33 #33973B
square
#335D97 #97338F #976D33 #33973B
split-complementary
#335D97 #973B33 #8F9733
monochromatic
#14253C #244169 #335D97 #477AC1 #749BD0

Accessibility & contrast

On white

6.66
#335D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#335D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D97
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D97#FFFFFF#000000##FFFFFF
##335D971.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335d97;
/* rgb */ color: rgb(51, 93, 151);
/* oklch */ color: oklch(47.7% 0.105 256.9);
Tailwind
colors: {
  custom: {
    50: '#758ab6',
    500: '#335d97',
    950: '#000000',
  },
}
SCSS
$custom: #335d97;
$custom-light: #758ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#335d97",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 214.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.10537,
    "h": 256.9
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#335D97
secondary
#B8996D
accent
#9F4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335D97

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

Preview Lab → · Contrast checker → · Palette generator →

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