#335B91#335B91

#335B91 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.9% C 0.099 H 256.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#335B91
RGBrgb(51, 91, 145)
HSLhsl(214, 48%, 38%)
HSVhsv(214, 65%, 57%)
CMYKcmyk(64.8%, 37.2%, 0%, 43.1%)
CIE-LABlab(38.25, 3.88, -33.98)
CIE-LCHlch(38.25, 34.20, 276.52°)
OKLaboklab(46.85% -0.0233 -0.0964)
OKLCHoklch(46.85% 0.099 256.4)
XYZxyz(10.2153, 10.2293, 28.2187)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B91 #916933
analogous
#338A91 #335B91 #3A3391
triadic
#335B91 #91335B #5B9133
tetradic
#335B91 #91338A #916933 #33913A
square
#335B91 #91338A #916933 #33913A
split-complementary
#335B91 #913A33 #8A9133
monochromatic
#132236 #233F64 #335B91 #4478BD #7198CD

Accessibility & contrast

On white

6.89
#335B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#335B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335B91
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B91#FFFFFF#000000##FFFFFF
##335B911.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #335b91;
/* rgb */ color: rgb(51, 91, 145);
/* oklch */ color: oklch(46.9% 0.099 256.4);
Tailwind
colors: {
  custom: {
    50: '#7489b1',
    500: '#335b91',
    950: '#000000',
  },
}
SCSS
$custom: #335b91;
$custom-light: #7489b1;
$custom-dark: #000000;
JSON
{
  "hex": "#335b91",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 145
  },
  "hsl": {
    "h": 214.468,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.09917,
    "h": 256.4
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#335B91
secondary
#B5956B
accent
#9E50D8
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335B91

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

Preview Lab → · Contrast checker → · Palette generator →

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