#335E93#335E93

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

Color values

HEX#335E93
RGBrgb(51, 94, 147)
HSLhsl(213, 48%, 39%)
HSVhsv(213, 65%, 58%)
CMYKcmyk(65.3%, 36.1%, 0%, 42.4%)
CIE-LABlab(39.27, 2.70, -33.58)
CIE-LCHlch(39.27, 33.69, 274.60°)
OKLaboklab(47.68% -0.026 -0.0952)
OKLCHoklch(47.68% 0.099 254.7)
XYZxyz(10.6325, 10.8148, 29.1252)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E93 #936833
analogous
#338E93 #335E93 #383393
triadic
#335E93 #93335E #5E9333
tetradic
#335E93 #93338E #936833 #339338
square
#335E93 #93338E #936833 #339338
split-complementary
#335E93 #933833 #8E9333
monochromatic
#132438 #234166 #335E93 #457BBE #729BCE

Accessibility & contrast

On white

6.64
#335E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#335E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E93
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E93#FFFFFF#000000##FFFFFF
##335E931.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476195
Deuteranopia (green-blind)
#3A5892
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335e93;
/* rgb */ color: rgb(51, 94, 147);
/* oklch */ color: oklch(47.7% 0.099 254.7);
Tailwind
colors: {
  custom: {
    50: '#758bb3',
    500: '#335e93',
    950: '#000000',
  },
}
SCSS
$custom: #335e93;
$custom-light: #758bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#335e93",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 147
  },
  "hsl": {
    "h": 213.125,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.09869,
    "h": 254.7
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#335E93
secondary
#B6956C
accent
#9B50D8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335E93

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

Preview Lab → · Contrast checker → · Palette generator →

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