#335D91#335D91

#335D91 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.097 H 254.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#335D91
RGBrgb(51, 93, 145)
HSLhsl(213, 48%, 38%)
HSVhsv(213, 65%, 57%)
CMYKcmyk(64.8%, 35.9%, 0%, 43.1%)
CIE-LABlab(38.86, 2.61, -33.02)
CIE-LCHlch(38.86, 33.12, 274.52°)
OKLaboklab(47.33% -0.0255 -0.0936)
OKLCHoklch(47.33% 0.097 254.8)
XYZxyz(10.3886, 10.5759, 28.2764)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D91 #916733
analogous
#338C91 #335D91 #383391
triadic
#335D91 #91335D #5D9133
tetradic
#335D91 #91338C #916733 #339138
square
#335D91 #91338C #916733 #339138
split-complementary
#335D91 #913833 #8C9133
monochromatic
#132336 #234064 #335D91 #447ABD #719ACD

Accessibility & contrast

On white

6.74
#335D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#335D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335D91
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D91#FFFFFF#000000##FFFFFF
##335D911.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476093
Deuteranopia (green-blind)
#3A5790
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #335d91;
/* rgb */ color: rgb(51, 93, 145);
/* oklch */ color: oklch(47.3% 0.097 254.8);
Tailwind
colors: {
  custom: {
    50: '#748ab1',
    500: '#335d91',
    950: '#000000',
  },
}
SCSS
$custom: #335d91;
$custom-light: #748ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#335d91",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 213.191,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.09699,
    "h": 254.8
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#335D91
secondary
#B5946B
accent
#9B50D8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335D91

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

Preview Lab → · Contrast checker → · Palette generator →

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