#335D9F#335D9F

#335D9F is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.2% C 0.117 H 259.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#335D9F
RGBrgb(51, 93, 159)
HSLhsl(217, 51%, 41%)
HSVhsv(217, 68%, 62%)
CMYKcmyk(67.9%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.64, 7.73, -40.18)
CIE-LCHlch(39.64, 40.91, 280.89°)
OKLaboklab(48.19% -0.022 -0.1145)
OKLCHoklch(48.19% 0.117 259.1)
XYZxyz(11.5354, 11.0346, 34.3161)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D9F #9F7533
analogous
#33939F #335D9F #3F339F
triadic
#335D9F #9F335D #5D9F33
tetradic
#335D9F #9F3393 #9F7533 #339F3F
square
#335D9F #9F3393 #9F7533 #339F3F
split-complementary
#335D9F #9F3F33 #939F33
monochromatic
#152742 #244271 #335D9F #4A7AC5 #799CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335D9F#FFFFFF#000000##FFFFFF
##335D9F1.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)
#3F63A2
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335d9f;
/* rgb */ color: rgb(51, 93, 159);
/* oklch */ color: oklch(48.2% 0.117 259.1);
Tailwind
colors: {
  custom: {
    50: '#778abc',
    500: '#335d9f',
    950: '#000000',
  },
}
SCSS
$custom: #335d9f;
$custom-light: #778abc;
$custom-dark: #000000;
JSON
{
  "hex": "#335d9f",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 216.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.11663,
    "h": 259.1
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#335D9F
secondary
#BC9F71
accent
#A44DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #335D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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