#335F96#335F96

#335F96 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.102 H 255.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#335F96
RGBrgb(51, 95, 150)
HSLhsl(213, 49%, 39%)
HSVhsv(213, 66%, 59%)
CMYKcmyk(66%, 36.7%, 0%, 41.2%)
CIE-LABlab(39.73, 3.15, -34.65)
CIE-LCHlch(39.73, 34.79, 275.20°)
OKLaboklab(48.1% -0.0263 -0.0983)
OKLCHoklch(48.1% 0.102 255)
XYZxyz(10.9605, 11.0892, 30.4111)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F96 #966A33
analogous
#339196 #335F96 #383396
triadic
#335F96 #96335F #5F9633
tetradic
#335F96 #963391 #966A33 #339638
square
#335F96 #963391 #966A33 #339638
split-complementary
#335F96 #963833 #919633
monochromatic
#14253B #234268 #335F96 #467CC0 #749DD0

Accessibility & contrast

On white

6.53
#335F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#335F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335F96
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F96#FFFFFF#000000##FFFFFF
##335F961.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476398
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335f96;
/* rgb */ color: rgb(51, 95, 150);
/* oklch */ color: oklch(48.1% 0.102 255.0);
Tailwind
colors: {
  custom: {
    50: '#758cb5',
    500: '#335f96',
    950: '#000000',
  },
}
SCSS
$custom: #335f96;
$custom-light: #758cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#335f96",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 150
  },
  "hsl": {
    "h": 213.333,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.10177,
    "h": 255
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#335F96
secondary
#B8976D
accent
#9C4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #335F96

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

Preview Lab → · Contrast checker → · Palette generator →

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