#335F93#335F93

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

Color values

HEX#335F93
RGBrgb(51, 95, 147)
HSLhsl(213, 48%, 39%)
HSVhsv(213, 65%, 58%)
CMYKcmyk(65.3%, 35.4%, 0%, 42.4%)
CIE-LABlab(39.57, 2.07, -33.10)
CIE-LCHlch(39.57, 33.16, 273.57°)
OKLaboklab(47.92% -0.0271 -0.0938)
OKLCHoklch(47.92% 0.098 253.9)
XYZxyz(10.7220, 10.9938, 29.1551)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F93 #936733
analogous
#338F93 #335F93 #373393
triadic
#335F93 #93335F #5F9333
tetradic
#335F93 #93338F #936733 #339337
square
#335F93 #93338F #936733 #339337
split-complementary
#335F93 #933733 #8F9333
monochromatic
#132438 #234266 #335F93 #457DBE #729CCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335F93#FFFFFF#000000##FFFFFF
##335F931.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)
#496295
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335f93;
/* rgb */ color: rgb(51, 95, 147);
/* oklch */ color: oklch(47.9% 0.098 253.9);
Tailwind
colors: {
  custom: {
    50: '#758cb3',
    500: '#335f93',
    950: '#000000',
  },
}
SCSS
$custom: #335f93;
$custom-light: #758cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#335f93",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 147
  },
  "hsl": {
    "h": 212.5,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.09763,
    "h": 253.9
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#335F93
secondary
#B6946C
accent
#9A50D8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #335F93

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

Preview Lab → · Contrast checker → · Palette generator →

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