#335CC3#335CC3

#335CC3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.168 H 264.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#335CC3
RGBrgb(51, 92, 195)
HSLhsl(223, 59%, 48%)
HSVhsv(223, 74%, 76%)
CMYKcmyk(73.8%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.68, 21.80, -58.07)
CIE-LCHlch(41.68, 62.03, 290.58°)
OKLaboklab(50.5% -0.0156 -0.1672)
OKLCHoklch(50.5% 0.168 264.7)
XYZxyz(15.0392, 12.2966, 53.2001)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CC3 #C39A33
analogous
#33A4C3 #335CC3 #5233C3
triadic
#335CC3 #C3335C #5CC333
tetradic
#335CC3 #C333A4 #C39A33 #33C352
square
#335CC3 #C333A4 #C39A33 #33C352
split-complementary
#335CC3 #C35233 #A4C333
monochromatic
#1A2E62 #264592 #335CC3 #5E80D5 #8FA6E2

Accessibility & contrast

On white

6.07
#335CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#335CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CC3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CC3#FFFFFF#000000##FFFFFF
##335CC31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #335cc3;
/* rgb */ color: rgb(51, 92, 195);
/* oklch */ color: oklch(50.5% 0.168 264.7);
Tailwind
colors: {
  custom: {
    50: '#7e89d6',
    500: '#335cc3',
    950: '#000000',
  },
}
SCSS
$custom: #335cc3;
$custom-light: #7e89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#335cc3",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 222.917,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.16788,
    "h": 264.7
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#335CC3
secondary
#CCB886
accent
#B546E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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