#335B90#335B90

#335B90 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.098 H 256.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#335B90
RGBrgb(51, 91, 144)
HSLhsl(214, 48%, 38%)
HSVhsv(214, 65%, 56%)
CMYKcmyk(64.6%, 36.8%, 0%, 43.5%)
CIE-LABlab(38.20, 3.52, -33.46)
CIE-LCHlch(38.20, 33.64, 276.01°)
OKLaboklab(46.79% -0.0236 -0.0949)
OKLCHoklch(46.79% 0.098 256.1)
XYZxyz(10.1386, 10.1986, 27.8144)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B90 #906833
analogous
#338990 #335B90 #3A3390
triadic
#335B90 #90335B #5B9033
tetradic
#335B90 #903389 #906833 #33903A
square
#335B90 #903389 #906833 #33903A
split-complementary
#335B90 #903A33 #899033
monochromatic
#132236 #233E63 #335B90 #4478BD #7198CD

Accessibility & contrast

On white

6.91
#335B90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#335B90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335B90
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B90#FFFFFF#000000##FFFFFF
##335B901.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F92
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335b90;
/* rgb */ color: rgb(51, 91, 144);
/* oklch */ color: oklch(46.8% 0.098 256.1);
Tailwind
colors: {
  custom: {
    50: '#7489b1',
    500: '#335b90',
    950: '#000000',
  },
}
SCSS
$custom: #335b90;
$custom-light: #7489b1;
$custom-dark: #000000;
JSON
{
  "hex": "#335b90",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 144
  },
  "hsl": {
    "h": 214.194,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.09776,
    "h": 256.1
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#335B90
secondary
#B5956A
accent
#9D51D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335B90

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

Preview Lab → · Contrast checker → · Palette generator →

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