#335DC3#335DC3

#335DC3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.167 H 264.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#335DC3
RGBrgb(51, 93, 195)
HSLhsl(223, 59%, 48%)
HSVhsv(223, 74%, 76%)
CMYKcmyk(73.8%, 52.3%, 0%, 23.5%)
CIE-LABlab(41.96, 21.15, -57.63)
CIE-LCHlch(41.96, 61.39, 290.15°)
OKLaboklab(50.71% -0.0164 -0.1658)
OKLCHoklch(50.71% 0.167 264.4)
XYZxyz(15.1264, 12.4710, 53.2291)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DC3 #C39933
analogous
#33A5C3 #335DC3 #5133C3
triadic
#335DC3 #C3335D #5DC333
tetradic
#335DC3 #C333A5 #C39933 #33C351
square
#335DC3 #C333A5 #C39933 #33C351
split-complementary
#335DC3 #C35133 #A5C333
monochromatic
#1A2F62 #264692 #335DC3 #5E81D5 #8FA7E2

Accessibility & contrast

On white

6.01
#335DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#335DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DC3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DC3#FFFFFF#000000##FFFFFF
##335DC31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176AC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #335dc3;
/* rgb */ color: rgb(51, 93, 195);
/* oklch */ color: oklch(50.7% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#7e8ad6',
    500: '#335dc3',
    950: '#000000',
  },
}
SCSS
$custom: #335dc3;
$custom-light: #7e8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#335dc3",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 222.5,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.16665,
    "h": 264.4
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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