#335D95#335D95

#335D95 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.103 H 256.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#335D95
RGBrgb(51, 93, 149)
HSLhsl(214, 49%, 39%)
HSVhsv(214, 66%, 58%)
CMYKcmyk(65.8%, 37.6%, 0%, 41.6%)
CIE-LABlab(39.07, 4.06, -35.09)
CIE-LCHlch(39.07, 35.32, 276.60°)
OKLaboklab(47.57% -0.0244 -0.0996)
OKLCHoklch(47.57% 0.103 256.2)
XYZxyz(10.7025, 10.7014, 29.9295)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D95 #956B33
analogous
#338E95 #335D95 #3A3395
triadic
#335D95 #95335D #5D9533
tetradic
#335D95 #95338E #956B33 #33953A
square
#335D95 #95338E #956B33 #33953A
split-complementary
#335D95 #953A33 #8E9533
monochromatic
#14243A #234167 #335D95 #467AC0 #739BCF

Accessibility & contrast

On white

6.69
#335D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#335D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D95
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D95#FFFFFF#000000##FFFFFF
##335D951.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #335d95;
/* rgb */ color: rgb(51, 93, 149);
/* oklch */ color: oklch(47.6% 0.103 256.2);
Tailwind
colors: {
  custom: {
    50: '#758ab4',
    500: '#335d95',
    950: '#000000',
  },
}
SCSS
$custom: #335d95;
$custom-light: #758ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#335d95",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 214.286,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.10257,
    "h": 256.2
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335D95

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

Preview Lab → · Contrast checker → · Palette generator →

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