#335E9A#335E9A

#335E9A is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.1% C 0.108 H 257.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#335E9A
RGBrgb(51, 94, 154)
HSLhsl(215, 50%, 40%)
HSVhsv(215, 67%, 60%)
CMYKcmyk(66.9%, 39%, 0%, 39.6%)
CIE-LABlab(39.65, 5.25, -37.17)
CIE-LCHlch(39.65, 37.54, 278.04°)
OKLaboklab(48.11% -0.0242 -0.1057)
OKLCHoklch(48.11% 0.108 257.1)
XYZxyz(11.1986, 11.0412, 32.1066)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E9A #9A6F33
analogous
#33929A #335E9A #3B339A
triadic
#335E9A #9A335E #5E9A33
tetradic
#335E9A #9A3392 #9A6F33 #339A3B
square
#335E9A #9A3392 #9A6F33 #339A3B
split-complementary
#335E9A #9A3B33 #929A33
monochromatic
#15263E #24426C #335E9A #487BC2 #769CD2

Accessibility & contrast

On white

6.55
#335E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#335E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335E9A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E9A#FFFFFF#000000##FFFFFF
##335E9A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639C
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335e9a;
/* rgb */ color: rgb(51, 94, 154);
/* oklch */ color: oklch(48.1% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#768bb8',
    500: '#335e9a',
    950: '#000000',
  },
}
SCSS
$custom: #335e9a;
$custom-light: #768bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#335e9a",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 214.951,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.10844,
    "h": 257.1
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#335E9A
secondary
#BA9B6F
accent
#9F4EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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