#335C94#335C94

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

Color values

HEX#335C94
RGBrgb(51, 92, 148)
HSLhsl(215, 49%, 39%)
HSVhsv(215, 66%, 58%)
CMYKcmyk(65.5%, 37.8%, 0%, 42%)
CIE-LABlab(38.72, 4.34, -35.05)
CIE-LCHlch(38.72, 35.32, 277.05°)
OKLaboklab(47.27% -0.0236 -0.0995)
OKLCHoklch(47.27% 0.102 256.7)
XYZxyz(10.5358, 10.4952, 29.4818)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C94 #946B33
analogous
#338D94 #335C94 #3B3394
triadic
#335C94 #94335C #5C9433
tetradic
#335C94 #94338D #946B33 #33943B
square
#335C94 #94338D #946B33 #33943B
split-complementary
#335C94 #943B33 #8D9433
monochromatic
#142339 #234066 #335C94 #4579BF #739ACF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335C94#FFFFFF#000000##FFFFFF
##335C941.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)
#446096
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335c94;
/* rgb */ color: rgb(51, 92, 148);
/* oklch */ color: oklch(47.3% 0.102 256.7);
Tailwind
colors: {
  custom: {
    50: '#7589b4',
    500: '#335c94',
    950: '#000000',
  },
}
SCSS
$custom: #335c94;
$custom-light: #7589b4;
$custom-dark: #000000;
JSON
{
  "hex": "#335c94",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 148
  },
  "hsl": {
    "h": 214.639,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.10228,
    "h": 256.7
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#335C94
secondary
#B7976C
accent
#9E4FD8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335C94

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

Preview Lab → · Contrast checker → · Palette generator →

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