#335CC1#335CC1

#335CC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.165 H 264.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#335CC1
RGBrgb(51, 92, 193)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 74%, 76%)
CMYKcmyk(73.6%, 52.3%, 0%, 24.3%)
CIE-LABlab(41.54, 21.05, -57.14)
CIE-LCHlch(41.54, 60.89, 290.23°)
OKLaboklab(50.35% -0.0158 -0.1644)
OKLCHoklch(50.35% 0.165 264.5)
XYZxyz(14.8146, 12.2068, 52.0171)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CC1 #C19833
analogous
#33A3C1 #335CC1 #5133C1
triadic
#335CC1 #C1335C #5CC133
tetradic
#335CC1 #C133A3 #C19833 #33C151
square
#335CC1 #C133A3 #C19833 #33C151
split-complementary
#335CC1 #C15133 #A3C133
monochromatic
#192E60 #264591 #335CC1 #5D7FD4 #8DA6E1

Accessibility & contrast

On white

6.10
#335CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#335CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CC1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CC1#FFFFFF#000000##FFFFFF
##335CC11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #335cc1;
/* rgb */ color: rgb(51, 92, 193);
/* oklch */ color: oklch(50.4% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#7e89d4',
    500: '#335cc1',
    950: '#000000',
  },
}
SCSS
$custom: #335cc1;
$custom-light: #7e89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#335cc1",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 222.676,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.16517,
    "h": 264.5
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#335CC1
secondary
#CBB784
accent
#B546E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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