#335BC3#335BC3

#335BC3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.169 H 265.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#335BC3
RGBrgb(51, 91, 195)
HSLhsl(223, 59%, 48%)
HSVhsv(223, 74%, 76%)
CMYKcmyk(73.8%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.41, 22.45, -58.51)
CIE-LCHlch(41.41, 62.67, 290.99°)
OKLaboklab(50.3% -0.0148 -0.1685)
OKLCHoklch(50.3% 0.169 265)
XYZxyz(14.9532, 12.1245, 53.1714)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335BC3 #C39B33
analogous
#33A3C3 #335BC3 #5333C3
triadic
#335BC3 #C3335B #5BC333
tetradic
#335BC3 #C333A3 #C39B33 #33C353
square
#335BC3 #C333A3 #C39B33 #33C353
split-complementary
#335BC3 #C35333 #A3C333
monochromatic
#1A2E62 #264492 #335BC3 #5E7FD5 #8FA6E2

Accessibility & contrast

On white

6.13
#335BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#335BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335BC3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335BC3#FFFFFF#000000##FFFFFF
##335BC31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B69C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #335bc3;
/* rgb */ color: rgb(51, 91, 195);
/* oklch */ color: oklch(50.3% 0.169 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e88d6',
    500: '#335bc3',
    950: '#000000',
  },
}
SCSS
$custom: #335bc3;
$custom-light: #7e88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#335bc3",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 223.333,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.16912,
    "h": 265
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#335BC3
secondary
#CCB986
accent
#B646E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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