#335CC9#335CC9

#335CC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.176 H 265.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#335CC9
RGBrgb(51, 92, 201)
HSLhsl(224, 60%, 49%)
HSVhsv(224, 75%, 79%)
CMYKcmyk(74.6%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.11, 24.03, -60.85)
CIE-LCHlch(42.11, 65.42, 291.55°)
OKLaboklab(50.97% -0.0151 -0.1753)
OKLCHoklch(50.97% 0.176 265.1)
XYZxyz(15.7313, 12.5734, 56.8448)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CC9 #C9A033
analogous
#33A7C9 #335CC9 #5533C9
triadic
#335CC9 #C9335C #5CC933
tetradic
#335CC9 #C933A7 #C9A033 #33C955
square
#335CC9 #C933A7 #C9A033 #33C955
split-complementary
#335CC9 #C95533 #A7C933
monochromatic
#1A2F67 #274698 #335CC9 #6282D7 #93A9E4

Accessibility & contrast

On white

5.97
#335CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#335CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CC9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CC9#FFFFFF#000000##FFFFFF
##335CC91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #335cc9;
/* rgb */ color: rgb(51, 92, 201);
/* oklch */ color: oklch(51.0% 0.176 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f89da',
    500: '#335cc9',
    950: '#000000',
  },
}
SCSS
$custom: #335cc9;
$custom-light: #7f89da;
$custom-dark: #000000;
JSON
{
  "hex": "#335cc9",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 223.6,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.17598,
    "h": 265.1
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#335CC9
secondary
#CFBC89
accent
#B845E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #335CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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